Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Merge branch 'tablet'
islandmedd4dc94000fee
diff --cc src/app/Config.cppindex 6b31d6ef,00072f84..b070b49c--- a/src/app/Config.cpp+++ b/src/app/Config.cpp@@@ -42,8 -42,7 +42,9 @@@ Json toJson(const UiPrefs& p)j.set("uiScale", double(p.uiScale));j.set("lightboxAtStartup", p.lightboxAtStartup);j.set("libraryFolder", p.libraryFolder);+ j.set("cameraNotch", double(p.cameraNotch));+ j.set("alphabeticalPalettes", p.alphabeticalPalettes);+ j.set("tablet", toJson(p.tablet));return j;}@@@ -58,8 -57,7 +59,9 @@@ void fromJson(const Json& j, UiPrefs& pp.uiScale = std::clamp(float(j["uiScale"].asNumber(p.uiScale)), 0.0f, 3.0f);p.lightboxAtStartup = j["lightboxAtStartup"].asBool(p.lightboxAtStartup);if (j["libraryFolder"].isString()) p.libraryFolder = j["libraryFolder"].asString();+ p.cameraNotch = std::clamp(int(j["cameraNotch"].asNumber(p.cameraNotch)), 0, 2);+ p.alphabeticalPalettes = j["alphabeticalPalettes"].asBool(p.alphabeticalPalettes);+ fromJson(j["tablet"], p.tablet);}namespace {diff --cc src/app/Config.hindex ef379b71,eeba4480..5c78449b--- a/src/app/Config.h+++ b/src/app/Config.h@@@ -25,8 -26,7 +26,9 @@@ struct UiPrefsfloat uiScale = 0.0f; // 0 = follow the display; otherwise applied at the next startbool lightboxAtStartup = true;std::string libraryFolder; // "" = Documents/SculptForge+ bool alphabeticalPalettes = false; // strict A-Z palette bar like ZBrush (default: File, Edit first)+ int cameraNotch = 0; // keep the UI out of a laptop's camera notch: 0 automatic, 1 always, 2 never+ TabletSettings tablet; // Preferences > Tablet: pressure curve, eraser, pen buttons};Json toJson(const UiPrefs& prefs);