Page MenuHome

surfacedeform_bind(modifier="Surface Deform") - context incorrect
Closed, ResolvedPublic

Description

While testing new 'Surface Deform' modifier (daily build) I noticed it can't be bind to target by python command:
bpy.ops.object.surfacedeform_bind(modifier="Surface Deform")

It gives error - context incorrect

But very similar command for 'Mesh Deform' modifier works ok:
bpy.ops.object.meshdeform_bind(modifier="MeshDeform")

I think it is bug since both modifiers are similar, but one python command fails with incorrect context.

- sample file with 2 objects, and python bind commad fail for 'Surface Deform' modifier.