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:
authorTon Roosendaal <ton@blender.org>2005-04-11 21:55:20 +0400
committerTon Roosendaal <ton@blender.org>2005-04-11 21:55:20 +0400
commit52b7b978e319d7cef224601b57350cc63a99faaa (patch)
tree02d6ee0766603cbc86bf4e1e38033a238d6a0960 /source/blender/renderconverter
parentbb9548fd16a4a3f6b360e990aeb493bb74c0d03f (diff)
Bug fix #2411
(Looks like big commit, but is mostly just change of API call!) Particle emittors now can be parented to an armature Bone, and give the correct path for each particle. Note that this doesn't work for deform! And, for each particle the entire armature is evaluated, all actions and NLA strips. It used to work a little while BTW, but the code just called ALL armatures and made ALL deforms again. Was quite slow... thats why the API call change: do_all_actions() now accepts Object * to only do that one. With a NULL it now does all still. Will disapppear in recode of course...
Diffstat (limited to 'source/blender/renderconverter')
-rw-r--r--source/blender/renderconverter/intern/convertBlenderScene.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/renderconverter/intern/convertBlenderScene.c b/source/blender/renderconverter/intern/convertBlenderScene.c
index 6c73044b150..eb69ab601c3 100644
--- a/source/blender/renderconverter/intern/convertBlenderScene.c
+++ b/source/blender/renderconverter/intern/convertBlenderScene.c
@@ -2920,10 +2920,10 @@ void RE_rotateBlenderScene(void)
BPY_do_all_scripts(SCRIPT_FRAMECHANGED);
do_all_keys();
#ifdef __NLA
- do_all_actions();
+ do_all_actions(NULL);
rebuild_all_armature_displists();
/* so nice, better do it twice */
- do_all_actions();
+ do_all_actions(NULL);
rebuild_all_armature_displists();
#endif
do_all_ikas();