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:
2006-06-12 20:01:18 +00:00
parent 98b8b876b6
commit b58998729b
10 changed files with 174 additions and 45 deletions

View File

@@ -941,7 +941,7 @@ void clear_object(char mode)
if(mode=='r') str= "Clear rotation";
else if(mode=='g') str= "Clear location";
else if(mode=='s') str= "Clear size";
else if(mode=='s') str= "Clear scale";
else if(mode=='o') str= "Clear origin";
else return;
@@ -3331,7 +3331,7 @@ void apply_object()
return;
}
if(okee("Apply size and rotation")==0) return;
if(okee("Apply scale and rotation")==0) return;
base= FIRSTBASE;
while(base) {