Using SetVisibleLayers or SetVisibleElements does not change on screen until changing canvas.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In python scripting, when using pcbnew.
This greatly affects the usability of [LayerViewSet](https:/
Application: kicad
Version: (2017-08-11 revision 356f607cd)-makepkg, release build
Libraries: wxWidgets 3.0.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
- Build Info -
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.64.0
Curl: 7.54.1
KiCad - Compiler: GCC 7.1.0 with C++ ABI 1011
Settings: USE_WX_
Changed in kicad: | |
status: | Fix Committed → Fix Released |
On 22.08.2017 04:16, Greg Smith wrote: GetBoard( ).SetVisibleLay ers() or GetBoard( ).SetVisibleEle ments() , neither the checkboxes in the
> Public bug reported:
>
> In python scripting, when using pcbnew.
> pcbnew.
> LayerManager nor the actually visible layers change in the PCB view.
> Changing the view from OpenGL and *back* correctly shows both the layers
> and the checkboxes. Refreshing the wx.Window for the pcbnew window and
> the LayerManager window does not help the display. Only changing views
> seems to help.
Call: void PCB_DRAW_ PANEL_GAL: :SyncLayersVisi bility( const BOARD* aBoard )
Cheers,
Tom