Skip to content
Snippets Groups Projects
Commit 44999570 authored by Martin Buerbaum's avatar Martin Buerbaum
Browse files

* Return 'CANCELLED' when selection is not good to use.

parent cc0690bd
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,6 @@ class VIEW3D_OT_recall_object_operator(bpy.types.Operator):
print("No operator found for idname " + op_idname)
return {'CANCELLED'}
return {'FINISHED'}
else:
print("No operator found in recall data!")
return {'CANCELLED'}
......@@ -145,6 +143,10 @@ class VIEW3D_OT_recall_object_operator(bpy.types.Operator):
print("No recall information found in object!")
return {'CANCELLED'}
return {'FINISHED'}
return {'CANCELLED'}
class VIEW3D_OT_edit_object_parameters(bpy.types.Panel):
bl_space_type = "VIEW_3D"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment