Blender 2.76-rc2 2eb0c99
Ubuntu 14.04 64x, nVidia GT620
Auto-IK doesn't work on new DEPSGRAPH
Open the file with new depsgraph and try to move the bone selected. You won't can.
With old depsgraph, it works.
Blender 2.76-rc2 2eb0c99
Ubuntu 14.04 64x, nVidia GT620
Auto-IK doesn't work on new DEPSGRAPH
Open the file with new depsgraph and try to move the bone selected. You won't can.
With old depsgraph, it works.
| rB Blender | |||
| rB03e8202b7b19 Fix T46320: New Depsgraph: Auto-IK doesn't work | |||
Developer's note:
The issue is caused by transform tool temporary affecting on the pose constraints, which actually changes the way how pose is to be evaluated. Here's a patch which makes sure dependency graph is always up-to-date after such modifications:
{
}Not sure if there's better approach to this problem. @Joshua Leung (aligorith), @Campbell Barton (campbellbarton), any ideas?
@Sergey Sharybin (sergey), seems correct API usage and fine for master.
Note - calling into DAG directly seems a bit low level (we could have a version of BKE_pose_tag_recalc for this).
@Campbell Barton (campbellbarton), we can't only tag pose for recalc, nodes in depsgraph are to be updated to mimic updated armature settings. In theory it's possible to perform partial depsgraph topology update, but in practice it's quite tricky to do correct.
Sorry for the spam.
On another hand on a production scene full relations update could be rather too much costly to be performed on transform. Maybe there's some better trick to do.