Global G.moving got nice define flags, and additional meaning.

- move object mode
- move editmode/pose mode
- move with widgets
This commit is contained in:
2005-03-19 20:27:13 +00:00
parent 0542e1ebe3
commit 35ab8a32a1
6 changed files with 12 additions and 6 deletions

View File

@@ -351,8 +351,8 @@ void initTrans (TransInfo *t)
{
/* moving: is shown in drawobject() (transform color) */
if(G.obedit) G.moving= 2;
else G.moving= 1;
if(G.obedit || G.obpose) G.moving= G_TRANSFORM_EDIT;
else G.moving= G_TRANSFORM_OBJ;
t->data = NULL;
t->ext = NULL;