[#21218] Strange Extrude bug...
authorMartin Poirier <theeth@yahoo.com>
Sat, 24 Apr 2010 18:11:28 +0000 (18:11 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sat, 24 Apr 2010 18:11:28 +0000 (18:11 +0000)
Hide Extrude Type property (it's not supposed to be changed manually).

source/blender/editors/mesh/editmesh_tools.c

index 823bc3e..3555bfc 100644 (file)
@@ -797,6 +797,7 @@ void MESH_OT_extrude(wmOperatorType *ot)
 
        /* properties */
        prop= RNA_def_enum(ot->srna, "type", extrude_items, 0, "Type", "");
+       RNA_def_property_flag(prop, PROP_HIDDEN);
        RNA_def_enum_funcs(prop, extrude_itemf);
        ot->prop= prop;
 }