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.

Retopo UI test: check Double without depending on the exact quad count

islandmed2e5597948dfc
diff --git a/tests/ui/retopo.sfui b/tests/ui/retopo.sfui
index d4bcdbed..339b6905 100644
--- a/tests/ui/retopo.sfui
+++ b/tests/ui/retopo.sfui
@@ -49,8 +49,10 @@ key ctrl+shift+z
expect_value quads > 2400
# Half / Same / Double set the target from the current polygon count.
+# (2400-4400 polygons doubled can't start with a 3, unlike the dragged target of about 3000.)
click "QRemesh/Double"
-expect_text "Target Polygons 6"
+expect_text "Target Polygons"
+expect_no_text "Target Polygons 3"
# Divide twice, show the original and project its detail back.
run subdivide levels=2