Page MenuHome

Multiple separators in sequence are ignored in pie menus causing layout misalignments
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67

Blender Version
Broken: rBb89cabb30081
Worked: rBd966c2f0c2ad

Short description of error
rBb89cabb30081 seems to hide separators, if there are multiple in sequence. I'd argue that for pie menus at least, using multiple separators in sequence is a useful layout technique.

*expected behavior above, current behavior below*

Exact steps for others to reproduce the error

  • open the attached blend in rBb89cabb30081 or newer
    • run thr script, notice how the second pie.separator() is ignored, causing the misalignment
  • open the attached blend in an earlier build
    • everything works as expected

Event Timeline

MACHIN3 (MACHIN3) updated the task description. (Show Details)

I have the same issue with blender-2.80-513b71c89ad0-win64 build.

Yes, looks like I definitely broke that on that patch.

Will fix this today for sure.

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Apr 26 2019, 4:27 PM

There is a patch to fix this here.

Sorry for the inconvenience. I did not intend to mangle pie menus while cleaning up a mess with regular menus.

Still no patch in todays build (blender-2.80-a57fec986d2d-win64)