Fix T75878: Modifiers disappearing from UI

Typo in 4f9a56cbc4.
This commit is contained in:
Julian Eisel 2020-04-19 15:03:44 +02:00
parent d7f05fd445
commit 1760b8c59f
Notes: blender-bot 2023-02-14 08:33:26 +01:00
Referenced by issue #75878, Modifiers disappearing from UI
1 changed files with 1 additions and 1 deletions

View File

@ -1387,7 +1387,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
if md.mask_tex_mapping == 'OBJECT':
layout.prop(md, "mask_tex_map_object", text="Object")
obj = md.mask_text_map_object
obj = md.mask_tex_map_object
if obj and obj.type == 'ARMATURE':
layout.prop_search(md, "mask_tex_map_bone", obj.data, "bones", text="Bone")
elif md.mask_tex_mapping == 'UV' and ob.type == 'MESH':