[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45814] trunk/blender/source/blender: aparently `yards` are not used a lot, suppress their use in button display (input still knows about them) - was reported as a bug.

Campbell Barton ideasman42 at gmail.com
Fri Apr 20 16:59:24 CEST 2012


Revision: 45814
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45814
Author:   campbellbarton
Date:     2012-04-20 14:59:24 +0000 (Fri, 20 Apr 2012)
Log Message:
-----------
aparently `yards` are not used a lot, suppress their use in button display (input still knows about them) - was reported as a bug.

also fix minor rip bug where active selection was lost.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/unit.c
    trunk/blender/source/blender/editors/mesh/editmesh_rip.c

Modified: trunk/blender/source/blender/blenkernel/intern/unit.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/unit.c	2012-04-20 14:46:46 UTC (rev 45813)
+++ trunk/blender/source/blender/blenkernel/intern/unit.c	2012-04-20 14:59:24 UTC (rev 45814)
@@ -131,7 +131,7 @@
 	{"mile", "miles",		"mi", "m", "Miles",		UN_SC_MI, 0.0,	B_UNIT_DEF_NONE},
 	{"furlong", "furlongs",	"fur", NULL, "Furlongs",UN_SC_FUR, 0.0,	B_UNIT_DEF_SUPPRESS},
 	{"chain", "chains",		"ch", NULL, "Chains",	UN_SC_CH, 0.0,	B_UNIT_DEF_SUPPRESS},
-	{"yard", "yards",		"yd", NULL, "Yards",	UN_SC_YD, 0.0,	B_UNIT_DEF_NONE},
+	{"yard", "yards",		"yd", NULL, "Yards",	UN_SC_YD, 0.0,	B_UNIT_DEF_SUPPRESS},
 	{"foot", "feet",		"'", "ft", "Feet",		UN_SC_FT, 0.0,	B_UNIT_DEF_NONE}, /* base unit */
 	{"inch", "inches",		"\"", "in", "Inches",	UN_SC_IN, 0.0,	B_UNIT_DEF_NONE},
 	{"thou", "thou",		"thou", "mil", "Thou",	UN_SC_MIL, 0.0,	B_UNIT_DEF_NONE}, /* plural for thou has no 's' */

Modified: trunk/blender/source/blender/editors/mesh/editmesh_rip.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_rip.c	2012-04-20 14:46:46 UTC (rev 45813)
+++ trunk/blender/source/blender/editors/mesh/editmesh_rip.c	2012-04-20 14:59:24 UTC (rev 45814)
@@ -567,6 +567,9 @@
 
 		if (v_best) {
 			BM_elem_select_set(bm, v_best, TRUE);
+			if (ese.ele) {
+				EDBM_editselection_store(em, &v_best->head);
+			}
 		}
 	}
 




More information about the Bf-blender-cvs mailing list