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 origin/main (0.10.1) into feat/kelvinlet-alpha
islandmedfca3f25452c4
diff --cc src/app/App.cppindex 176ed671,7dd4e7c6..e5f8bd48--- a/src/app/App.cpp+++ b/src/app/App.cpp@@@ -1286,12 -1337,12 +1344,17 @@@ void App::onMouseUp()}void App::onKey(SDL_Keycode key, SDL_Keymod mod) {+ if (key == SDLK_ESCAPE && !insertType_.empty()) { // Append > Insert (#34) off+ insertType_.clear();+ status_ = "Insert off";+ return;+ }if (captureShortcutKey(key, mod)) return; // Ctrl+Alt+click a button, then press its new key+ if (key == SDLK_ESCAPE && capture_.armed) { // Capture from view waiting for its square (PanelKelvinlet.cpp)+ capture_.armed = false;+ status_ = "Capture cancelled";+ return;+ }if (lightBoxKey(key, mod)) return; // , LightBox, B / M pickers, S / I pop-ups (LightBox.cpp)// Blender's Emulate Numpad: the number row works as the numpad, unless the key itself has an action.if (blenderStyle() && uiPrefs_.emulateNumpad && key >= SDLK_0 && key <= SDLK_9 &&@@@ -1879,7 -1921,12 +1943,13 @@@ void App::drawUi()drawFaceOverlay(); // facial landmarks (PanelFace.cpp)drawSplatTrainOverlay(); // splat training progress (PanelSplatTrain.cpp)drawSculptableOverlay(); // Make sculptable: crop box, face landmarks (PanelSculptable.cpp)+ drawCaptureOverlay(); // Capture from view: the square, the result window (PanelKelvinlet.cpp)+ if (uiPrefs_.showAxes) drawAxisGizmo(); // X / Y / Z in the canvas corner (#31)+ if (drag_ == Drag::Insert) { // the size the insert will get+ insertPx_ = std::hypot(mouse.x - insertX_, mouse.y - insertY_);+ ImGui::GetForegroundDrawList()->AddCircle(ImVec2(insertX_, insertY_), std::max(insertPx_, 12.0f * uiScale_),+ theme::u32(theme::accent), 48, 2.0f * uiScale_);+ }// In Gizmo mode (and with the QRemesh Guides brush) the brush ring shows only while Ctrl masks or Shift smooths.const bool ringOff = gizmoActive() || (guidesMode_ && !(inputMods() & SDL_KMOD_SHIFT)) || sculptableHot() || zsphereActive();if (((!ImGui::GetIO().WantCaptureMouse && canvasRect().contains(mouse.x, mouse.y)) || drag_ == Drag::Stroke) &&diff --cc src/app/App.hindex d21a72f1,5eb27088..6c6cb6d2--- a/src/app/App.h+++ b/src/app/App.h@@@ -129,7 -128,7 +129,7 @@@ publicvoid queueFile(FileAction action, std::string path);private:- enum class Drag { None, Stroke, Orbit, Pan, Zoom, Roll, MaskCanvas, SubToolClick, Select, Gizmo, Guide, Sculptable, ZSphere, Capture };- enum class Drag { None, Stroke, Orbit, Pan, Zoom, Roll, MaskCanvas, SubToolClick, Select, Gizmo, Guide, Sculptable, ZSphere, Insert };++ enum class Drag { None, Stroke, Orbit, Pan, Zoom, Roll, MaskCanvas, SubToolClick, Select, Gizmo, Guide, Sculptable, ZSphere, Insert, Capture };void handleEvent(const SDL_Event& e);void onMouseDown(float x, float y, Uint8 button);