Fix for bug #8219: proportional edit circle was drawing

wrong in the uv editor since editmode integration.
This commit is contained in:
Brecht Van Lommel
2008-02-16 19:37:33 +00:00
parent 54fd70a8bb
commit 07fa7f5a38

View File

@@ -723,7 +723,8 @@ void BIF_drawPropCircle()
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 @@ void BIF_drawPropCircle()
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);
}
}