[Bf-blender-cvs] [704d710] pie-menus: remove unused import
Campbell Barton
noreply at git.blender.org
Thu Aug 7 21:52:30 CEST 2014
Commit: 704d710ddc881162f4a9c67a08d503a6004d48d7
Author: Campbell Barton
Date: Fri Aug 8 05:52:13 2014 +1000
Branches: pie-menus
https://developer.blender.org/rB704d710ddc881162f4a9c67a08d503a6004d48d7
remove unused import
===================================================================
M release/scripts/templates_py/ui_pie_menu.py
===================================================================
diff --git a/release/scripts/templates_py/ui_pie_menu.py b/release/scripts/templates_py/ui_pie_menu.py
index 08ef5b2..87500b6 100644
--- a/release/scripts/templates_py/ui_pie_menu.py
+++ b/release/scripts/templates_py/ui_pie_menu.py
@@ -1,19 +1,19 @@
import bpy
-from bpy.props import *
from bpy.types import Menu
-#spawn an edit mode selection pie (run while object is in edit mode to get a valid output)
+# spawn an edit mode selection pie (run while object is in edit mode to get a valid output)
+
class VIEW3D_PIE_template(Menu):
- #label is displayed at the center of the pie menu.
+ # label is displayed at the center of the pie menu.
bl_label = "Select Mode"
def draw(self, context):
layout = self.layout
pie = layout.menu_pie()
- #operator_enum will just spread all available options
- #for the type enum of the operator on the pie
+ # operator_enum will just spread all available options
+ # for the type enum of the operator on the pie
pie.operator_enum("mesh.select_mode", "type")
More information about the Bf-blender-cvs
mailing list