Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def execute(self, context):
- if bpy.context.mode == 'EDIT_MESH':
- actions that I do that already work
- else:
- bpy.ops.screen.space_context_cycle
- return {'FINISHED'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement