diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 16:02:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 16:02:16 +0300 |
commit | 02f4003184b071121079cf4d8ab76ebd7c2894ef (patch) | |
tree | 8e720e84ce5aae308818d457e6cab9edd5ccb315 /source/blender/makesdna | |
parent | b8bde683fb7133c4c36c5b83b9b2535df2e0c180 (diff) |
metaball rotations must be kept normalized, normalize values after setting from rna/python.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_meta_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index feadf7cd510..dc0ac7fd80c 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -48,7 +48,7 @@ typedef struct MetaElem { short type, flag, selcol1, selcol2; float x, y, z; /* Position of center of MetaElem */ - float quat[4]; /* Rotation of MetaElem */ + float quat[4]; /* Rotation of MetaElem (MUST be kept normalized) */ float expx; /* dimension parameters, used for some types like cubes */ float expy; float expz; |