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:
authorCampbell Barton <ideasman42@gmail.com>2010-07-04 15:56:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-04 15:56:31 +0400
commitf9933b2fee786c0ba6341da0f151581fd768c921 (patch)
tree298285a7589da073806706c4eca0e225a74967a9 /source/blender
parent8aa0f9b033eff5aa4f6b66d3148d6379a60ebf06 (diff)
commenting group timeoffset since it causes groups objects to recalculate modifiers etc. constantly even when animation isnt playing.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/group.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c
index c8848572643..5f68c990ed2 100644
--- a/source/blender/blenkernel/intern/group.c
+++ b/source/blender/blenkernel/intern/group.c
@@ -328,6 +328,11 @@ void group_handle_recalc_and_update(Scene *scene, Object *parent, Group *group)
{
GroupObject *go;
+#if 0 /* warning, isnt clearing the recalc flag on the object which causes it to run all the time,
+ * not just on frame change.
+ * This isnt working because the animation data is only re-evalyated on frame change so commenting for now
+ * but when its enabled at some point it will need to be changed so as not to update so much - campbell */
+
/* if animated group... */
if(give_timeoffset(parent) != 0.0f || parent->nlastrips.first) {
int cfrao;
@@ -353,7 +358,9 @@ void group_handle_recalc_and_update(Scene *scene, Object *parent, Group *group)
/* restore */
scene->r.cfra= cfrao;
}
- else {
+ else
+#endif
+ {
/* only do existing tags, as set by regular depsgraph */
for(go= group->gobject.first; go; go= go->next) {
if(go->ob) {