Little fix; while Transform() in editmode, and other objects were select,

these objects were drawn in transform color (white usually)
This commit is contained in:
2005-03-19 20:00:23 +00:00
parent e07f2f1226
commit c8d6515ad7

View File

@@ -350,7 +350,9 @@ void drawLine(float *center, float *dir, char axis, short options)
void initTrans (TransInfo *t)
{
G.moving = 1; // Set moving flag on (display object in white)
/* moving: is shown in drawobject() (transform color) */
if(G.obedit) G.moving= 2;
else G.moving= 1;
t->data = NULL;
t->ext = NULL;