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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-05-03 09:34:24 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-05-03 09:37:24 +0300
commitd116932f3a6cf081cd55aba11b4baf32b998a4d2 (patch)
treeb2c911438b0ab53ec3b543f66698aa44959adc5b /source/blender/blenloader/intern/readfile.c
parent8b2640f08858f200eda84e19f74ed234a2833eb2 (diff)
Add BBone and Wire Armature draw types to DrawManager.
Most of this was copying/adapting code from octahedral existing draw code, tough part was to get BBone matrices to behave as expected, they are using a fairly specific setup... Addresses T51365 and T51362.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index e5d5e20c8f2..b7a8e85a93d 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5064,6 +5064,8 @@ static void direct_link_pose(FileData *fd, bPose *pose)
/* in case this value changes in future, clamp else we get undefined behavior */
CLAMP(pchan->rotmode, ROT_MODE_MIN, ROT_MODE_MAX);
+
+ pchan->bbone_matrices = NULL;
}
pose->ikdata = NULL;
if (pose->ikparam != NULL) {