Skip to content

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.

Stroke popup: leave the stroke's persistence to the per-brush settings (#78)

islandmed4ead86dbb3ed
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2ef67d09..8b1bb7f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,7 +11,7 @@ All notable changes to SculptForge are listed here. The format follows
tile for a grid at the cursor with the stroke types and the modifiers Add / Sub, Smooth, Mask and Select. Hold the
key, point and let go (a hovering pen works too), or tap it and click. Smooth, Mask and Select stay on without
holding Shift or Ctrl until you pick them again or another brush; a label at the cursor shows which. A plain grid,
- not a ring. The stroke type is now saved with the project. (Suggested on Discord.)
+ not a ring. (Suggested on Discord.)
## [0.10.8] - 2026-11-02
diff --git a/docs/guide/sculpting.md b/docs/guide/sculpting.md
index b0dbc323..4ac4d05d 100644
--- a/docs/guide/sculpting.md
+++ b/docs/guide/sculpting.md
@@ -340,8 +340,6 @@ the **Stroke** tile on the left shelf. The top row holds the stroke types, the b
to the brush cursor shows which one is on. Dragging beside the model still turns the view.
- Change the key in **Preferences > Hotkeys** (*Stroke popup*), or hold <kbd>Ctrl</kbd>+<kbd>Alt</kbd> and click the shelf button, then press the new key.
-The stroke type you picked is saved with the project.
-
> **ZBrush:** Drag Stamp, Slide Stamp, Spray and Lazy Stroke match ZBrush's DragRect, DragDot, Spray and LazyMouse. Freehand and Dots are the same thing here.
> Roll and curve strokes are not available yet.
diff --git a/src/app/PanelProject.cpp b/src/app/PanelProject.cpp
index 5ab2d1a4..d3df4918 100644
--- a/src/app/PanelProject.cpp
+++ b/src/app/PanelProject.cpp
@@ -330,7 +330,6 @@ void App::storeProjectSettings() {
brush.set("rgb_intensity", double(rgbIntensity_));
brush.set("focal_shift", double(focalShift_));
brush.set("invert", invertToggle_);
- brush.set("stroke", strokeTypeName(strokeType_));
brush.set("front_faces_only", frontFacesOnly_);
brush.set("connected_only", uiPrefs_.connectedOnly);
brush.set("view_falloff", uiPrefs_.viewFalloff);
@@ -455,9 +454,6 @@ void App::applyProjectSettings() {
rgbIntensity_ = std::clamp(rgbIntensity_, 0.0f, 1.0f);
focalShift_ = std::clamp(focalShift_, -1.0f, 1.0f);
readBool(b, "invert", invertToggle_);
- if (b["stroke"].isString())
- for (int i = 0; i < int(StrokeType::Count); ++i)
- if (b["stroke"].asString() == strokeTypeName(StrokeType(i))) strokeType_ = StrokeType(i);
readBool(b, "smooth_keep_volume", smoothKeepVolume_);
readBool(b, "front_faces_only", frontFacesOnly_);
readBool(b, "connected_only", uiPrefs_.connectedOnly);