def cancel_drop(self,context,event):
     if self.assembly:
         utils.delete_object_and_children(self.assembly.obj_bp)
     bpy.context.window.cursor_set('DEFAULT')
     return {'FINISHED'}
 def cancel_drop(self, context, event):
     if self.object:
         utils.delete_object_and_children(self.object)
     bpy.context.window.cursor_set('DEFAULT')
     return {'FINISHED'}
예제 #3
0
 def cancel_drop(self,context,event):
     utils.delete_object_and_children(self.wall.obj_bp)
     context.window.cursor_set('DEFAULT')
     utils.delete_obj_list([self.drawing_plane])
     return {'FINISHED'}