Last minute patch from Chris Want
Nkey "Properties Panel" now has Dimension ("Dim") buttons too.
This reads from the actual bounding box value to see the size. Note that
dimensions for animated & deformed objects will change per frame.
(Cleaned up buttons layout for patch, and added support for Curve, Text and
Surface objects)
This commit is contained in:
@@ -3878,7 +3878,7 @@ static int Object_setAttr( BPy_Object * obj, char *name, PyObject * value )
|
||||
|
||||
flag &= OB_LOCK_LOCX | OB_LOCK_LOCY | OB_LOCK_LOCZ |
|
||||
OB_LOCK_ROTX | OB_LOCK_ROTY | OB_LOCK_ROTZ |
|
||||
OB_LOCK_SIZEX | OB_LOCK_SIZEY | OB_LOCK_SIZEZ;
|
||||
OB_LOCK_SCALEX | OB_LOCK_SCALEY | OB_LOCK_SCALEZ;
|
||||
|
||||
object->protectflag = (short)flag;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user