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.

ctrl_brushes UI test: SelectRect stops short of the middle now that X symmetry mirrors it

islandmeda4798bf0dafb
diff --git a/tests/ui/ctrl_brushes.sfui b/tests/ui/ctrl_brushes.sfui
index a9caf8ca..6e7898d1 100644
--- a/tests/ui/ctrl_brushes.sfui
+++ b/tests/ui/ctrl_brushes.sfui
@@ -86,9 +86,10 @@ wait 0.1
click "Rect##held.select.rect"
hold none
expect_value hide_shape == 2
-# SelectRect from the background, then with Alt from the model.
+# SelectRect from the background, then with Alt from the model. (X symmetry is on: the mirror image of the
+# rectangle is kept too, so it stops short of the middle to leave something to hide.)
hold ctrl+shift
-drag_path -0.2 -0.2 0.5 1.2
+drag_path -0.2 -0.2 0.3 1.2
hold none
expect_value hidden > 1000
remember hidden kept