fix [#34113] operator_menu_enum() - Tooltip not showing descriptions
authorCampbell Barton <ideasman42@gmail.com>
Tue, 5 Feb 2013 04:41:11 +0000 (04:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 5 Feb 2013 04:41:11 +0000 (04:41 +0000)
commita8601a5702b5b510af46459ed7a36f65a3e4755d
treeb8dd3933ce0a3d734676ff3fd483495c828ab1bc
parent936a38c607de098e3b09c5c00337130ebdd47b44
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)
source/blender/python/intern/bpy_intern_string.c
source/blender/python/intern/bpy_intern_string.h
source/blender/python/intern/bpy_operator_wrap.c