Changeset View
Changeset View
Standalone View
Standalone View
space_view3d_3d_navigation.py
| Context not available. | |||||
| bl_options = {'REGISTER', 'UNDO'} | bl_options = {'REGISTER', 'UNDO'} | ||||
| def execute(self, context): | def execute(self, context): | ||||
| if context.object == None: | if context.object is None: | ||||
| self.report({'ERROR'}, 'Cannot perform this operation on NoneType objects') | self.report({'ERROR'}, 'Cannot perform this operation on NoneType objects') | ||||
| return {'CANCELLED'} | return {'CANCELLED'} | ||||
| Context not available. | |||||