Page MenuHome

Fix T63252: Bind in Mesh Deform Modifier fails
ClosedPublic

Authored by Sergey Sharybin (sergey) on Apr 4 2019, 2:44 PM.

Details

Summary

A regression since 64c8d72ef1ad.

The solution is to force modifier evaluation for an evaluated
object, and let it to copy binding data back to original when
is being evaluated for binding.

Diff Detail

Repository
rB Blender

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.Apr 4 2019, 3:04 PM
Brecht Van Lommel (brecht) added inline comments.
source/blender/editors/object/object_modifier.c
2328

Not needed, already NULL.

source/blender/modifiers/intern/MOD_correctivesmooth.c
585–599

Move these lines 4 lines inside if (DEG_is_active(depsgraph)) too?

This revision now requires changes to proceed.Apr 4 2019, 3:04 PM

Update for Brecht's review

Also corrected wrong unbind error in the Surface Deform (it was raising
an error on every F12 when the modifier was never bound).

Sergey Sharybin (sergey) marked an inline comment as done.Apr 4 2019, 3:39 PM
Sergey Sharybin (sergey) added inline comments.
source/blender/modifiers/intern/MOD_correctivesmooth.c
585–599

Probably, just to be consistent with other modifiers.

Sergey Sharybin (sergey) marked an inline comment as done.

Fix unbinding of Laplacian Deform

This revision is now accepted and ready to land.Apr 4 2019, 3:46 PM
This revision was automatically updated to reflect the committed changes.