3d renderer does not react right away to rendering options change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Unassigned |
Bug Description
Reproduction steps:
* Open a board in PCBNew.
* Show the 3d rendering canvas.
* Make sure the renderer is in OpenGL mode.
* Toggle "Realistic mode" option.
The display should refresh to show the board with the new options but it will only do that when the board is rotated or zoomed in.
Same thing applies for all entries in "Render options" -> "Material properties" and "OpenGL options" -> "Show copper thickness"
System information:
ProductName: Mac OS X
ProductVersion: 10.13.3
BuildVersion: 17D102
KiCad information:
Packaged on 20180316-043049
KiCad revision: r3b0a758
KiCad CMake Settings: -DDEFAULT_
-DCMAKE_
-DCMAKE_
-DCMAKE_
-DCMAKE_
-DwxWidgets_
-DKICAD_
-DKICAD_
-DKICAD_
-DKICAD_
-DPYTHON_
-DPYTHON_
-DKICAD_USE_OCE=ON
-DOCE_DIR=
-DKICAD_SPICE=ON
-DKICAD_
-DCMAKE_
-DCMAKE_
Build script revision: r3b0a758
Thank you for your time,
Alessandro
Changed in kicad: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in kicad: | |
status: | Triaged → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
The fix for this one is simple, but I wonder why some options in eda_3d_viewer.cpp use "ReloadRequest()" and others "m_canvas- >RequestRefresh ()". ReloadRequest() requires the board to be rotated or zoomed in or whatever, but are there any cases for the menu option callbacks to be invoked with m_canvas being null?