KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_3d_viewer_layer_presets.cpp File Reference

Regression test for 3D viewer layer-preset serialization. More...

#include <qa_utils/wx_utils/unit_test_utils.h>
#include <layer_ids.h>
#include <3d_viewer/eda_3d_viewer_settings.h>
#include <bitset>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (PresetLayerVisibilityRoundTrip)
 

Detailed Description

Regression test for 3D viewer layer-preset serialization.

The PARAM_LAYER_PRESET_3D name<->layer map omitted the numbered User.1..User.45 layers and the grid axes layer. Those bits were lost on a save/load round-trip through the JSON settings, which is why kicad-cli renders ignored them.

Definition in file test_3d_viewer_layer_presets.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()