forked from bartvdbraak/blender
Bugfix for depsgraph error leading to lagging, caused by local
constraint ipo drivers and proxies.
This commit is contained in:
parent
58046762f8
commit
5b4376a137
@ -2196,7 +2196,10 @@ void DAG_pose_sort(Object *ob)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user