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/templates
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/templates')
-rw-r--r--release/scripts/templates/operator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/templates/operator.py b/release/scripts/templates/operator.py
index 5e8a2f33cb7..72a6ae53f5f 100644
--- a/release/scripts/templates/operator.py
+++ b/release/scripts/templates/operator.py
@@ -41,8 +41,7 @@ class ExportSomeData(bpy.types.Operator):
return ('RUNNING_MODAL',)
elif 0:
# Redo popup
- wm.invoke_props_popup(self, event) #
- return ('RUNNING_MODAL',)
+ return wm.invoke_props_popup(self, event) #
elif 0:
return self.execute(context)