- loading missing files didnt give any warning
- shape key transfer poll function
This commit is contained in:
@@ -305,6 +305,10 @@ class ShapeTransfer(bpy.types.Operator):
|
||||
|
||||
return {'FINISHED'}
|
||||
|
||||
def poll(self, context):
|
||||
obj = context.active_object
|
||||
return (obj and obj.mode != 'EDIT')
|
||||
|
||||
def execute(self, context):
|
||||
C = bpy.context
|
||||
ob_act = C.active_object
|
||||
|
||||
Reference in New Issue
Block a user