[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34975] trunk/blender/source/blender/ editors/space_view3d/view3d_edit.c: Bugfix 26131

Ton Roosendaal ton at blender.org
Fri Feb 18 17:47:11 CET 2011


Revision: 34975
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34975
Author:   ton
Date:     2011-02-18 16:47:10 +0000 (Fri, 18 Feb 2011)
Log Message:
-----------
Bugfix 26131

Option "Align view to selected" only aligned to the last activated
item in editmode. This whilst code comment even said "use alignment
from Manipulator in normal mode".

Now it does what it's (apparently) meant to do, and what brazilians 
think it should! ;) It aligns to selected!

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/view3d_edit.c

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2011-02-18 16:13:13 UTC (rev 34974)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2011-02-18 16:47:10 UTC (rev 34975)
@@ -1879,7 +1879,7 @@
 			float twmat[3][3];
 
 			/* same as transform manipulator when normal is set */
-			ED_getTransformOrientationMatrix(C, twmat, TRUE);
+			ED_getTransformOrientationMatrix(C, twmat, FALSE);
 
 			mat3_to_quat( obact_quat,twmat);
 			invert_qt(obact_quat);




More information about the Bf-blender-cvs mailing list