Post #5372: There is a fix for certain panel menus added to a popup dialog

📋 Metadata

  • Author: Motiomancy
  • Date: 2025-01-07 20:46:42
  • Type: bug_report
  • Quality Score: 8/10
  • Replies (1): post_05378

🏷️ Tags

popup-dialog panel-menus advanced solved

  • Popup Dialog Editor
  • Panel Group Editor

💬 Content

There is a fix for certain panel menus added to a popup dialog

in \pie_menu_editor\panel_utils.py

Line 794:     setattr(p, is_popover,False)
Line 823:         if hasattr(p, "draw_header"):
                      setattr(p, "is_popover",True)

They break in the popup dialog window if the attribute is not present, example:

No fix
image

Fix

imageimage656×539 80.1 KB

This is more for my personal workflow but it might be helpful for someone else.


❤️ 2 likes


🔗 View on Blender Artists