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>2012-01-01 17:09:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-01 17:09:58 +0400
commita49e80c48a7dc23ac388d7846ef47680e752d2d9 (patch)
treedfcef7774c705ff0bd685bc6d5886b23c0823a7a /release/scripts/modules/rna_prop_ui.py
parent9b45d8acad715061ea66a4c609b368a69d27fdbf (diff)
use `props` all over for operator properties vars
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r--release/scripts/modules/rna_prop_ui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index 388ae2b0e13..32c8ed11bc5 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -145,11 +145,11 @@ def draw(layout, context, context_member, property_type, use_edit=True):
if use_edit:
row = split.row(align=True)
- prop = row.operator("wm.properties_edit", text="edit")
- assign_props(prop, val_draw, key)
+ props = row.operator("wm.properties_edit", text="edit")
+ assign_props(props, val_draw, key)
- prop = row.operator("wm.properties_remove", text="", icon='ZOOMOUT')
- assign_props(prop, val_draw, key)
+ props = row.operator("wm.properties_remove", text="", icon='ZOOMOUT')
+ assign_props(props, val_draw, key)
class PropertyPanel():