Don't update 3D view when it is not visible or doesn't have input focus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
New
|
Unknown
|
Bug Description
Currently (development master branch) the 3D view is always updated whenever a change to the board is made in pcbnew. Even if the 3D view window is not visible. I remember this used to be different some time ago. The 3D view was only updated when it was actually visible or when it gained input focus.
The old behavior was extremely useful when working with a 3D view on the side. It allows editing the board and quickly get a feedback in the 3D view.
With the current behavior, every edit step in pcbnew takes several seconds because it always updates the 3D view. This makes board editing with the 3D view being opened pretty much impractical even for smaller boards. The only solution is to close the 3D view and open it again to see the results. However, for larger boards the initial loading of all the 3D models takes long time.
tags: | added: 3d-viewer |
Changed in kicad: | |
importance: | Low → Unknown |
status: | Expired → New |
Or at least, when the 3D window is visible, say on another monitor, don't block pcbnew when updating the 3D view, just post it updates and let it re-render as best it can.