Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Hnidek <jiri.hnidek@tul.cz>2005-04-11 23:31:05 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2005-04-11 23:31:05 +0400
commit78939c0cc06a67dbf2853ed7d030b9829b812e3f (patch)
tree4a1050d0c6f172bed54dea52d9faf91f2542e24c /source/blender/makesdna/DNA_meta_types.h
parent52b7b978e319d7cef224601b57350cc63a99faaa (diff)
- 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
Diffstat (limited to 'source/blender/makesdna/DNA_meta_types.h')
-rw-r--r--source/blender/makesdna/DNA_meta_types.h3
1 files changed, 2 insertions, 1 deletions
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