code cleanup: assign mode to a variable in the 3d view header and remove some unused imports

This commit is contained in:
Campbell Barton
2012-07-29 14:07:57 +00:00
parent 588e4a4327
commit 4ef8f3f537
2 changed files with 10 additions and 9 deletions

View File

@@ -19,4 +19,4 @@ The execution context is as a non keyword, string argument in:
# group add popup
import bpy
bpy.ops.object.group_instance_add('INVOKE_DEFAULT')
bpy.ops.object.group_instance_add('INVOKE_DEFAULT')