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>2013-02-05 08:41:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-05 08:41:11 +0400
commita8601a5702b5b510af46459ed7a36f65a3e4755d (patch)
treeb8dd3933ce0a3d734676ff3fd483495c828ab1bc /source/blender/python/intern/bpy_intern_string.h
parent936a38c607de098e3b09c5c00337130ebdd47b44 (diff)
fix [#34113] operator_menu_enum() - Tooltip not showing descriptions
Python wasn't able to set 'OperatorType.prop', which is used by uiButGetStrInfo(). add 'bl_property' to python operators which is assigned to OperatorType.prop when registering. (api docs coming next)
Diffstat (limited to 'source/blender/python/intern/bpy_intern_string.h')
-rw-r--r--source/blender/python/intern/bpy_intern_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_intern_string.h b/source/blender/python/intern/bpy_intern_string.h
index 0b7ca2cd47b..2e0d18d8b7f 100644
--- a/source/blender/python/intern/bpy_intern_string.h
+++ b/source/blender/python/intern/bpy_intern_string.h
@@ -30,6 +30,7 @@ void bpy_intern_string_exit(void);
extern PyObject *bpy_intern_str_register;
extern PyObject *bpy_intern_str_unregister;
extern PyObject *bpy_intern_str_bl_rna;
+extern PyObject *bpy_intern_str_bl_property;
extern PyObject *bpy_intern_str_order;
extern PyObject *bpy_intern_str_attr;
extern PyObject *bpy_intern_str___slots__;