[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24162] trunk/blender/source/blender/ editors/transform/transform_orientations.c: No need to force ortho on a unit matrix
Martin Poirier
theeth at yahoo.com
Thu Oct 29 19:59:48 CET 2009
Revision: 24162
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24162
Author: theeth
Date: 2009-10-29 19:59:48 +0100 (Thu, 29 Oct 2009)
Log Message:
-----------
No need to force ortho on a unit matrix
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_orientations.c
Modified: trunk/blender/source/blender/editors/transform/transform_orientations.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_orientations.c 2009-10-29 18:49:36 UTC (rev 24161)
+++ trunk/blender/source/blender/editors/transform/transform_orientations.c 2009-10-29 18:59:48 UTC (rev 24162)
@@ -581,12 +581,13 @@
case V3D_MANIP_LOCAL:
strcpy(t->spacename, "local");
- if(ob)
+ if(ob) {
Mat3CpyMat4(t->spacemtx, ob->obmat);
- else
+ Mat3Ortho(t->spacemtx);
+ } else {
Mat3One(t->spacemtx);
+ }
- Mat3Ortho(t->spacemtx);
break;
case V3D_MANIP_VIEW:
More information about the Bf-blender-cvs
mailing list