Files
test/source/blender/editors
Julian Eisel 7d0765cbdc Fix menu poll function being ignored for UILayout.menu
Using `UILayout.menu()` [1] or `UILayout.menu_contents() [2], the menu
would just always be added, the `poll()` check not being executed. As
API user I would expect the `poll()` to deterimine visiblity of the
menu.

[1] https://docs.blender.org/api/current/bpy.types.UILayout.html#bpy.types.UILayout.menu
[2] https://docs.blender.org/api/current/bpy.types.UILayout.html#bpy.types.UILayout.menu_contents

Differential Revision: https://developer.blender.org/D12053

Reviewed by: Campbell Barton
2021-07-28 14:44:45 +02:00
..
2021-07-26 11:43:51 +02:00
2021-07-16 11:48:54 +10:00
2021-07-13 17:10:30 +10:00
2021-07-26 12:32:42 +10:00
2021-07-19 17:12:01 -04:00
2021-07-08 13:31:38 +10:00
2021-07-26 14:57:13 +02:00
2021-07-26 12:32:40 +10:00