Fix for [#20030] selection frame in edit mode turns white
authorMatt Ebb <matt@mke3.net>
Thu, 26 Nov 2009 06:07:56 +0000 (06:07 +0000)
committerMatt Ebb <matt@mke3.net>
Thu, 26 Nov 2009 06:07:56 +0000 (06:07 +0000)
source/blender/editors/space_view3d/drawobject.c

index 51af31496f13c070020bb9662202ed7b3cb84c99..2c4f010ce3e7db689c7eafd8ee663d710737a229 100644 (file)
@@ -5642,7 +5642,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, int flag)
        if((flag & DRAW_CONSTCOLOR) == 0) {
                project_short(ar, ob->obmat[3], &base->sx);
 
-               if((G.moving & G_TRANSFORM_OBJ) && (base->flag & (SELECT+BA_WAS_SEL))) UI_ThemeColor(TH_TRANSFORM);
+               if( (!scene->obedit) && (G.moving & G_TRANSFORM_OBJ) && (base->flag & (SELECT+BA_WAS_SEL))) UI_ThemeColor(TH_TRANSFORM);
                else {
 
                        if(ob->type==OB_LAMP) UI_ThemeColor(TH_LAMP);