[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38004] branches/soc-2011-avocado/blender/ release/scripts/startup/bl_ui/properties_object.py: Retopo section added to ui.

Dan Walters dan683 at gmail.com
Fri Jul 1 09:30:33 CEST 2011


Revision: 38004
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38004
Author:   dan_w
Date:     2011-07-01 07:30:33 +0000 (Fri, 01 Jul 2011)
Log Message:
-----------
Retopo section added to ui. Extend button added

Modified Paths:
--------------
    branches/soc-2011-avocado/blender/release/scripts/startup/bl_ui/properties_object.py

Modified: branches/soc-2011-avocado/blender/release/scripts/startup/bl_ui/properties_object.py
===================================================================
--- branches/soc-2011-avocado/blender/release/scripts/startup/bl_ui/properties_object.py	2011-07-01 07:26:48 UTC (rev 38003)
+++ branches/soc-2011-avocado/blender/release/scripts/startup/bl_ui/properties_object.py	2011-07-01 07:30:33 UTC (rev 38004)
@@ -255,8 +255,18 @@
 
         elif ob.dupli_type == 'GROUP':
             layout.prop(ob, "dupli_group", text="Group")
+			
+class OBJECT_PT_retopology(ObjectButtonsPanel, bpy.types.Panel):
+    bl_label = "Retopology"
 
+    def draw(self, context):
+        layout = self.layout
 
+        ob = context.object
+
+        row = layout.row(align=True)
+        row.operator("object.retopo_extend", text="Extend")
+
 # XXX: the following options are all quite buggy, ancient hacks that should be dropped
 
 class OBJECT_PT_animation(ObjectButtonsPanel, bpy.types.Panel):




More information about the Bf-blender-cvs mailing list