Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-10 08:04:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-10 08:04:48 +0400
commitcf4e32a06c84bdc3e735e4fccb693a400a8e4cbe (patch)
tree69d91cf3b33f89e6a8877235e8605b6986c73fb7 /release/scripts
parent5bf97d7786424a06f912bf90822fd7ec4ebda6ba (diff)
remove redundant buffer character positioning code & remove attr keyword argument from property definitions.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/ui/properties_data_armature_rigify.py2
-rw-r--r--release/scripts/ui/space_userpref_keymap.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_data_armature_rigify.py b/release/scripts/ui/properties_data_armature_rigify.py
index 3a34f8e1b9d..3978c9ab3f3 100644
--- a/release/scripts/ui/properties_data_armature_rigify.py
+++ b/release/scripts/ui/properties_data_armature_rigify.py
@@ -22,7 +22,7 @@ from bpy.props import *
class PoseTemplate(bpy.types.IDPropertyGroup):
- name = StringProperty(attr="name", name="Name of the slave", description="", maxlen=64, default="")
+ name = StringProperty(name="Name of the slave", description="", maxlen=64, default="")
active_template_index = IntProperty(name="Index of the active slave", description="", default=-1, min=-1, max=65535)
use_generate_deform_rig = BoolProperty(name="Create Deform Rig", description="Create a copy of the metarig, constrainted by the generated rig", default=False)
diff --git a/release/scripts/ui/space_userpref_keymap.py b/release/scripts/ui/space_userpref_keymap.py
index e8ccc096935..8064e74fa01 100644
--- a/release/scripts/ui/space_userpref_keymap.py
+++ b/release/scripts/ui/space_userpref_keymap.py
@@ -691,7 +691,7 @@ class WM_OT_keymap_restore(bpy.types.Operator):
bl_idname = "wm.keymap_restore"
bl_label = "Restore Key Map(s)"
- all = BoolProperty(attr="all", name="All Keymaps", description="Restore all keymaps to default")
+ all = BoolProperty(name="All Keymaps", description="Restore all keymaps to default")
def execute(self, context):
wm = context.window_manager
@@ -711,7 +711,7 @@ class WM_OT_keyitem_restore(bpy.types.Operator):
bl_idname = "wm.keyitem_restore"
bl_label = "Restore Key Map Item"
- item_id = IntProperty(attr="item_id", name="Item Identifier", description="Identifier of the item to remove")
+ item_id = IntProperty(name="Item Identifier", description="Identifier of the item to remove")
def execute(self, context):
wm = context.window_manager
@@ -752,7 +752,7 @@ class WM_OT_keyitem_remove(bpy.types.Operator):
bl_idname = "wm.keyitem_remove"
bl_label = "Remove Key Map Item"
- item_id = IntProperty(attr="item_id", name="Item Identifier", description="Identifier of the item to remove")
+ item_id = IntProperty(name="Item Identifier", description="Identifier of the item to remove")
def execute(self, context):
wm = context.window_manager