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>2009-12-07 03:16:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-07 03:16:57 +0300
commit750764f411d18b5f57cac3857cf201d4e9425521 (patch)
treee0de3ecab9cefe266080f9962a848e32c6e58c0f /release/scripts/modules/rna_prop_ui.py
parent85773c72303962f03c2a2d62bb26e042da8dd4b7 (diff)
rna flag PROP_ENUM_FLAG which makes rna props a tuple of enums when converted into a PyObject
only used by wm.invoke_props_popup() currently
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r--release/scripts/modules/rna_prop_ui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index 51281c480b9..ca452da7f73 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -212,8 +212,12 @@ class WM_OT_properties_edit(bpy.types.Operator):
self.properties.description = prop_ui.get("description", "")
wm = context.manager
+ # This crashes, TODO - fix
+ #return wm.invoke_props_popup(self, event)
+
wm.invoke_props_popup(self, event)
return ('RUNNING_MODAL',)
+
class WM_OT_properties_add(bpy.types.Operator):