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):

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to