Post #5380: Ah, now I understand the issue!

📋 Metadata

  • Author: Pluglug
  • Date: 2025-01-10 20:00:27
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_05379

🏷️ Tags

popup-dialog advanced solved

  • Panel Group Editor
  • Python Scripting

💬 Content

Ah, now I understand the issue!

This panel puts the “Display Cursor” option in the header when available, but includes it in the panel layout when there’s no header. For PME to accommodate this mechanism, it would probably look like this:

# panel_utils.py
def panel(...):
    # ...
    p = pt(bpy.context.window_manager)
    # ...
    setattr(p, "is_popover", not header)

    # Same as the above
    # if header:
    #     setattr(p, "is_popover", False)
    # else:
    #     setattr(p, "is_popover", True)

imageimage734×814 61.1 KB

It’s truly thanks to all of you that we can identify these kinds of issues. I’m really happy to be exploring Blender’s evolution and PME’s possibilities together with you!


❤️ 2 likes


🔗 View on Blender Artists