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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-05 15:52:54 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-05 15:52:54 +0400
commit5bacd2df29855e0628d8a48c1f0321b8d1c429ac (patch)
tree15e04f801a63a4b1dd61108efba4e321a30c0b9f /source/blender/blenkernel/intern
parent052ab934aa3adb3ab3ce8e875618986fb69f0d57 (diff)
Fix #22666: linked data lights lag during transform in GLSL mode.
Actually a depsgraph issue, transforming objects was incorrectly tagging their data for recalculation.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index c1223a5c37f..0dbdd802ff6 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2303,8 +2303,10 @@ void DAG_id_flush_update(ID *id, short flag)
id= ob->data;
/* no point in trying in this cases */
- if(!id || id->us <= 1)
+ if(id && id->us <= 1) {
+ dag_editors_update(bmain, id);
id= NULL;
+ }
}
}