Fix Surface Deform not unbinding if target is removed
This commit is contained in:
@@ -969,11 +969,11 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
|
||||
layout.separator()
|
||||
|
||||
col = layout.column()
|
||||
col.active = md.target is not None
|
||||
|
||||
if md.is_bound:
|
||||
col.operator("object.surfacedeform_bind", text="Unbind")
|
||||
else:
|
||||
col.active = md.target is not None
|
||||
col.operator("object.surfacedeform_bind", text="Bind")
|
||||
|
||||
def UV_PROJECT(self, layout, ob, md):
|
||||
|
Reference in New Issue
Block a user