forked from bartvdbraak/blender
Fix T43887: Quick Fur duplicate particle system on edit
Forbid add quick fur operator from adding fur to objects in edit mode. Fur is not visible for them anyway and because of local undo stack used in edit mode tweaking values of this operator does not lead to proper operator redo.
This commit is contained in:
parent
9d72c9e7e5
commit
51a60cbaf8
@ -75,7 +75,7 @@ class QuickFur(Operator):
|
||||
def execute(self, context):
|
||||
fake_context = context.copy()
|
||||
mesh_objects = [obj for obj in context.selected_objects
|
||||
if obj.type == 'MESH']
|
||||
if obj.type == 'MESH' and obj.mode == 'OBJECT']
|
||||
|
||||
if not mesh_objects:
|
||||
self.report({'ERROR'}, "Select at least one mesh object")
|
||||
|
Loading…
Reference in New Issue
Block a user