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/startup/bl_ui/properties_object.py
parent9b45d8acad715061ea66a4c609b368a69d27fdbf (diff)
use `props` all over for operator properties vars
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 27b6aa721a4..f01c2ba45e0 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -181,9 +181,9 @@ class OBJECT_PT_groups(ObjectButtonsPanel, Panel):
col = split.column()
col.prop(group, "dupli_offset", text="")
- prop = col.operator("wm.context_set_value", text="From Cursor")
- prop.data_path = "object.users_group[%d].dupli_offset" % index
- prop.value = value
+ props = col.operator("wm.context_set_value", text="From Cursor")
+ props.data_path = "object.users_group[%d].dupli_offset" % index
+ props.value = value
index += 1