Files
test/source/blender
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-03-29 19:11:17 -06:00
2021-07-27 19:49:29 +02:00
2021-07-26 12:32:42 +10:00
2021-07-26 12:32:42 +10:00
2021-07-26 12:32:42 +10:00
2021-07-28 19:55:29 +08:00
2021-07-28 19:55:29 +08:00
2021-07-26 14:57:13 +02:00