mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-26 10:21:00 +00:00
Hide the Design tab behind an experimental CAD preference
The tab is now gated on a new enable_cad_feature app-config key, off by default, exposed in Preferences under General > Features. When off, the page is never created, so the Design-only camera option is hidden too. Takes effect on restart, like the other feature toggles.
This commit is contained in:
@@ -311,6 +311,11 @@ void AppConfig::set_defaults()
|
||||
set_bool("zoom_to_mouse", false);
|
||||
|
||||
#ifdef SLIC3R_CAD
|
||||
// Experimental parametric Design tab. Off by default: the tab is not created at all
|
||||
// until this is turned on, so nothing it builds reaches an unsuspecting user.
|
||||
if (get("enable_cad_feature").empty())
|
||||
set_bool("enable_cad_feature", false);
|
||||
|
||||
// Design tab: draw a mate connector as a face rather than as the abstract disc + roll
|
||||
// quadrant. Defaults ON — face orientation is hardwired perception, so the roll and the
|
||||
// verse read without being learned, which no abstract glyph achieves. Turning it off
|
||||
|
||||
Reference in New Issue
Block a user