Shrinkwrap constraint don't get updated when target mesh gets modified
Closed, ResolvedPublic


System Information
Tested on linux and windows.

Blender Version
2.78b 3c04373

Exact steps for others to reproduce the error

modify plane in attached file with e.g. sculpt. Cube don't get repositioned with shrinkwrap constraint until switching to editmode and back or attempting to move it. As a workaround, simple scene_update_post script enables live update.
On contrary, shrinkwrap modifier updates instantly.


Bastien Montagne (mont29) triaged this task as Confirmed priority.Feb 16 2017, 11:12 AM

This is update issue… Actually, with new depsgrah (--enable-new-depsgraph option from command line), shrinkwrap constraint also updates in Edit mode e.g.

Not in sculpt mode though, not sure we want to add this? Will let our despgraph master @Sergey Sharybin (sergey) decide this I think. ;)

Sergey Sharybin (sergey) closed this task as Resolved.Feb 27 2017, 4:31 PM

Sculpt mode avoids flushes as much as possible in order to keep best performance and less amount of lack when sculpting.

Committed change which ensures scene is bought back to a consistent state when leaving sculpt more (before the scene was not updated when going to object mode from sculpt).

Surely there might be some further tweaks, but those are outside of the bug tracker actually.