Page MenuHome

Viewport overlay option for onion skin behaves strangely with multiple 3D viewport panels.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 382.05

Blender Version
Broken: version: 2.80 (sub 57), branch: blender2.7, commit date: 2019-04-17 19:26, hash: rBb46245470f79
Worked: (optional)

Short description of error
When two (or more) 3D viewport panel exist, viewport overlay option for onion skin for one panel affects onion skin of other panels.

Exact steps for others to reproduce the error
Attached .blend file have two 3D viewport panels and left panel is set onion skin OFF, and right panel is set onion skin ON.

However, onion skin does not show in right panel.
When you turn onion skin ON in the left panel, onion skin appears on both panels.

I noticed that this bug happens only in draw mode or object mode.
In edit mode, onion skin is shown in right panel (and not shown in left panel).

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

This is related to the internal cache refresh flag. The problem is the cache is not refreshed in the second window and the onion is not visible. You can check in edit mode and you will see the onion is visible.
I need to find a way to solve it, but without impacting on the performance of the screen.