Add Easy_Weight
to Addons
#47
@ -51,6 +51,13 @@ class EASYWEIGHT_OT_toggle_weight_paint(bpy.types.Operator):
|
|||||||
obj['wpt_display_type'] = obj.display_type
|
obj['wpt_display_type'] = obj.display_type
|
||||||
obj.display_type = 'SOLID'
|
obj.display_type = 'SOLID'
|
||||||
|
|
||||||
|
# Fix symmetry settings... Don't even restore these. Hopefully this can go away once T84520 is done
|
||||||
|
if obj.data.use_mirror_x:
|
||||||
|
obj.data.use_mirror_x = False
|
||||||
|
obj.data.use_mirror_vertex_group_x = True
|
||||||
|
|
||||||
|
obj.data.use_mirror_topology = False
|
||||||
|
|
||||||
# Store old shading settings in a dict custom property
|
# Store old shading settings in a dict custom property
|
||||||
if('wpt' not in context.screen):
|
if('wpt' not in context.screen):
|
||||||
context.screen['wpt'] = {}
|
context.screen['wpt'] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user