[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35559] trunk/blender: "Fix" #26445: edit mode vertex distortion
Sergey Sharybin
g.ulairi at gmail.com
Tue Mar 15 10:04:26 CET 2011
Revision: 35559
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35559
Author: nazgul
Date: 2011-03-15 09:04:26 +0000 (Tue, 15 Mar 2011)
Log Message:
-----------
"Fix" #26445: edit mode vertex distortion
Discussed with Campbell, it's not actually bug and it's more about limitation
of topology mirror. It will work properly when both sides of mesh have matching
unique topology.
Added note to tooltip, so now unpredictable behaviour shouldn't confuse users
so much.
Also gray out "Topology mirror" when "X Mirror" is disabled.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_view3d_toolbar.py
trunk/blender/source/blender/makesrna/intern/rna_mesh.c
Modified: trunk/blender/release/scripts/ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2011-03-15 08:38:08 UTC (rev 35558)
+++ trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2011-03-15 09:04:26 UTC (rev 35559)
@@ -176,7 +176,9 @@
mesh = context.active_object.data
col = layout.column(align=True)
col.prop(mesh, "use_mirror_x")
- col.prop(mesh, "use_mirror_topology")
+ sub = col.column()
+ sub.active = ob.data.use_mirror_x
+ sub.prop(mesh, "use_mirror_topology")
ts = context.tool_settings
Modified: trunk/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_mesh.c 2011-03-15 08:38:08 UTC (rev 35558)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c 2011-03-15 09:04:26 UTC (rev 35559)
@@ -2045,7 +2045,7 @@
prop= RNA_def_property(srna, "use_mirror_topology", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_TOPO);
- RNA_def_property_ui_text(prop, "Topology Mirror", "Use topology based mirroring");
+ RNA_def_property_ui_text(prop, "Topology Mirror", "Use topology based mirroring. For when both sides of mesh have matching, unique topology");
prop= RNA_def_property(srna, "use_paint_mask", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_PAINT_MASK);
More information about the Bf-blender-cvs
mailing list