diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-14 18:28:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-14 18:28:05 +0400 |
commit | 4ef0ef19276209480ec9ad9acbafff1e45a21e82 (patch) | |
tree | ea58237cc1aeb6fa53e77bcc200756c721bfeebd /release | |
parent | 1847f6198e50118e8e6541dfcb351dda40802511 (diff) |
added mesh mirror flag, now store this per mesh
button in mesh interface
also dont register operators that change context
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy_ops.py | 12 | ||||
-rw-r--r-- | release/scripts/ui/buttons_data_mesh.py | 3 |
2 files changed, 3 insertions, 12 deletions
diff --git a/release/scripts/modules/bpy_ops.py b/release/scripts/modules/bpy_ops.py index 022c0581a81..0360964be3f 100644 --- a/release/scripts/modules/bpy_ops.py +++ b/release/scripts/modules/bpy_ops.py @@ -157,9 +157,6 @@ class WM_OT_context_set(bpy.types.Operator): '''Set a context value.''' __idname__ = "wm.context_set" __label__ = "Context Set" - __register__ = True - __undo__ = True - __props__ = [ bpy.props.StringProperty(attr="path", name="Context Attributes", description="rna context string", maxlen= 1024, default= ""), bpy.props.StringProperty(attr="value", name="Value", description="Assignment value (as a string)", maxlen= 1024, default= "") @@ -173,9 +170,6 @@ class WM_OT_context_toggle(bpy.types.Operator): '''Toggle a context value.''' __idname__ = "wm.context_toggle" __label__ = "Context Toggle" - __register__ = True - __undo__ = True - __props__ = [ bpy.props.StringProperty(attr="path", name="Context Attributes", description="rna context string", maxlen= 1024, default= ""), ] @@ -188,9 +182,6 @@ class WM_OT_context_toggle_values(bpy.types.Operator): '''Toggle a context value.''' __idname__ = "wm.context_toggle_values" __label__ = "Context Toggle Values" - __register__ = True - __undo__ = True - __props__ = [ bpy.props.StringProperty(attr="path", name="Context Attributes", description="rna context string", maxlen= 1024, default= ""), bpy.props.StringProperty(attr="value_1", name="Value", description="Toggle value (as a string)", maxlen= 1024, default= ""), @@ -205,9 +196,6 @@ class WM_OT_context_cycle_enum(bpy.types.Operator): '''Toggle a context value.''' __idname__ = "wm.context_cycle_enum" __label__ = "Context Enum Cycle" - __register__ = True - __undo__ = True - __props__ = [ bpy.props.StringProperty(attr="path", name="Context Attributes", description="rna context string", maxlen= 1024, default= ""), bpy.props.BoolProperty(attr="reverse", name="Reverse", description="Cycle backwards", default= False) diff --git a/release/scripts/ui/buttons_data_mesh.py b/release/scripts/ui/buttons_data_mesh.py index 055cbb02e3f..78c675e618f 100644 --- a/release/scripts/ui/buttons_data_mesh.py +++ b/release/scripts/ui/buttons_data_mesh.py @@ -60,6 +60,9 @@ class DATA_PT_settings(DataButtonsPanel): col = split.column() col.itemR(mesh, "texture_mesh") + + col = split.column() + col.itemR(mesh, "use_mirror_x") class DATA_PT_vertex_groups(DataButtonsPanel): __label__ = "Vertex Groups" |