[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13720] trunk/blender/source/blender/src/ transform_constraints.c:
Brecht Van Lommel
brechtvanlommel at pandora.be
Sat Feb 16 20:37:33 CET 2008
Revision: 13720
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13720
Author: blendix
Date: 2008-02-16 20:37:33 +0100 (Sat, 16 Feb 2008)
Log Message:
-----------
Fix for bug #8219: proportional edit circle was drawing
wrong in the uv editor since editmode integration.
Modified Paths:
--------------
trunk/blender/source/blender/src/transform_constraints.c
Modified: trunk/blender/source/blender/src/transform_constraints.c
===================================================================
--- trunk/blender/source/blender/src/transform_constraints.c 2008-02-16 19:13:40 UTC (rev 13719)
+++ trunk/blender/source/blender/src/transform_constraints.c 2008-02-16 19:37:33 UTC (rev 13720)
@@ -723,7 +723,8 @@
BIF_ThemeColor(TH_GRID);
/* if editmode we need to go into object space */
- if(G.obedit) mymultmatrix(G.obedit->obmat);
+ if(G.obedit && t->spacetype == SPACE_VIEW3D)
+ mymultmatrix(G.obedit->obmat);
mygetmatrix(tmat);
Mat4Invert(imat, tmat);
@@ -733,7 +734,8 @@
set_inverted_drawing(0);
/* if editmode we restore */
- if(G.obedit) myloadmatrix(G.vd->viewmat);
+ if(G.obedit && t->spacetype == SPACE_VIEW3D)
+ myloadmatrix(G.vd->viewmat);
}
}
More information about the Bf-blender-cvs
mailing list