From 78939c0cc06a67dbf2853ed7d030b9829b812e3f Mon Sep 17 00:00:00 2001 From: Jiri Hnidek Date: Mon, 11 Apr 2005 19:31:05 +0000 Subject: - It is possible to scale radius of MetaElem again. - It is possible to change dx, dy and dz params in 3Dview with manipulators or with some shortcuts (S-X, S-Y, S-Z). - User can scale stiffness when green circle is selected. - MetaElem is selected with RMB click at green or red circle, then user can grab or rotate with MetaElem as usual. - Screenshot: http://e-learning.vslib.cz/~hnidek/pics/scale_stiffness.jpg - Captured video: http://e-learning.vslib.cz/~hnidek/captured-videos/scale_stiffness.avi --- source/blender/makesdna/DNA_meta_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_meta_types.h') diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index 0760f35540b..f4c9c85c65b 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -48,7 +48,7 @@ typedef struct MetaElem { struct BoundBox *bb; /* Bound Box of MetaElem */ int i1,j1,k1, i2,j2,k2; /* corners of Bounding Box in lattice */ - short type, lay, flag, selcol; + short type, flag, selcol1, selcol2; float x, y, z; /* Position of centre of MetaElem */ float quat[4]; /* Rotation of MetaElem */ float expx, expy, expz; /* dx, dy, dz parameters */ @@ -104,6 +104,7 @@ typedef struct MetaBall { /* ml->flag */ #define MB_NEGATIVE 2 #define MB_HIDE 8 +#define MB_SCALE_RAD 16 #endif -- cgit v1.2.3