[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13692] trunk/blender/source/blender/ blenkernel/intern/depsgraph.c:
Brecht Van Lommel
brechtvanlommel at pandora.be
Thu Feb 14 20:08:24 CET 2008
Revision: 13692
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13692
Author: blendix
Date: 2008-02-14 20:08:24 +0100 (Thu, 14 Feb 2008)
Log Message:
-----------
Bugfix for depsgraph error leading to lagging, caused by local
constraint ipo drivers and proxies.
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/depsgraph.c
Modified: trunk/blender/source/blender/blenkernel/intern/depsgraph.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/depsgraph.c 2008-02-14 18:56:14 UTC (rev 13691)
+++ trunk/blender/source/blender/blenkernel/intern/depsgraph.c 2008-02-14 19:08:24 UTC (rev 13692)
@@ -2196,7 +2196,10 @@
if(con->ipo) {
IpoCurve *icu;
for(icu= con->ipo->curve.first; icu; icu= icu->next) {
- if(icu->driver && icu->driver->ob==ob) {
+ /* icu->driver->ob should actually point to ob->proxy if it
+ * is a proxy, but since it wasn't set correct it older
+ * files comparing with ob->proxy makes it work for those */
+ if(icu->driver && (icu->driver->ob==ob || icu->driver->ob==ob->proxy)) {
bPoseChannel *target= get_pose_channel(ob->pose, icu->driver->name);
if(target) {
node2 = dag_get_node(dag, target);
More information about the Bf-blender-cvs
mailing list