Changeset View
Changeset View
Standalone View
Standalone View
add_mesh_extra_objects/add_mesh_vertex.py
| Context not available. | |||||
| sempty.name = "SymmEmpty" | sempty.name = "SymmEmpty" | ||||
| # check if we have a mirror modifier, otherwise add | # check if we have a mirror modifier, otherwise add | ||||
| if (sempty.modifiers and sempty.modifiers['Mirror']): | if sempty.modifiers and sempty.modifiers['Mirror']: | ||||
| pass | pass | ||||
| else: | else: | ||||
| bpy.ops.object.modifier_add(type ='MIRROR') | bpy.ops.object.modifier_add(type ='MIRROR') | ||||
| Context not available. | |||||
| sempty.name = "SymmVert" | sempty.name = "SymmVert" | ||||
| # check if we have a mirror modifier, otherwise add | # check if we have a mirror modifier, otherwise add | ||||
| if (sempty.modifiers and sempty.modifiers['Mirror']): | if sempty.modifiers and sempty.modifiers['Mirror']: | ||||
| pass | pass | ||||
| else: | else: | ||||
| bpy.ops.object.modifier_add(type ='MIRROR') | bpy.ops.object.modifier_add(type ='MIRROR') | ||||
| Context not available. | |||||