Fix T37428: NurbsPath Mesh Deform "Binding" not available or not functional

Seems to be a regression when Campbell was working on T24009.

Bind operator exec handles curves nicely, could not see reason
why to disable this with a poll function.

From quick tests everything seems to be just fine.
This commit is contained in:
Sergey Sharybin 2013-11-18 13:36:13 +06:00
parent 238d2f962d
commit 6f67f7c18c
Notes: blender-bot 2023-02-14 11:36:54 +01:00
Referenced by issue #37428, NurbsPath Mesh Deform "Binding" not available or not functional
1 changed files with 1 additions and 1 deletions

View File

@ -1856,7 +1856,7 @@ void OBJECT_OT_skin_armature_create(wmOperatorType *ot)
static int meshdeform_poll(bContext *C)
{
return edit_modifier_poll_generic(C, &RNA_MeshDeformModifier, (1 << OB_MESH));
return edit_modifier_poll_generic(C, &RNA_MeshDeformModifier, 0);
}
static int meshdeform_bind_exec(bContext *C, wmOperator *op)