Add Easy_Weight to Addons #47

Merged
Nick Alberelli merged 48 commits from feature/easy_weights into main 2023-05-17 22:13:57 +02:00
Showing only changes of commit fb29d5ef34 - Show all commits

View File

@ -54,7 +54,10 @@ class EASYWEIGHT_OT_wp_context_menu(bpy.types.Operator):
row.prop(self, "weight_cleaner", toggle=True) row.prop(self, "weight_cleaner", toggle=True)
row = layout.row() row = layout.row()
row.prop(tool_settings, "use_multipaint", text="Multi-Paint", toggle=True) row.prop(tool_settings, "use_multipaint", text="Multi-Paint", toggle=True)
row.prop(context.weight_paint_object.data, "use_mirror_x", toggle=True) if hasattr(context.weight_paint_object.data, "use_mirror_vertex_group_x"):
row.prop(context.weight_paint_object.data, "use_mirror_vertex_group_x", text="X-Mirror", toggle=True)
else: # Compatibility pre rB5502517c3c12086c111a
row.prop(context.weight_paint_object.data, "use_mirror_x", toggle=True)
layout.separator() layout.separator()
layout.label(text="Overlay") layout.label(text="Overlay")