Add Easy_Weight
to Addons
#47
@ -124,6 +124,7 @@ class EASYWEIGHT_OT_toggle_weight_paint(bpy.types.Operator):
|
||||
armature.hide_set(info['armature_hide'])
|
||||
armature.show_in_front = info['armature_in_front']
|
||||
coll = bpy.data.collections.get(coll_name)
|
||||
if coll:
|
||||
bpy.data.collections.remove(coll)
|
||||
else:
|
||||
# If we didn't enter weight paint mode with this operator, just go into object mode when trying to leave WP mode with this operator.
|
||||
|
Loading…
Reference in New Issue
Block a user