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
UV Editor UI test: grid packs expect tiles within the grid (the biggest island sets the scale)
islandmed27b7493680a3
diff --git a/tests/ui/uv_editor.sfui b/tests/ui/uv_editor.sfuiindex de3dacd8..169b64b0 100644--- a/tests/ui/uv_editor.sfui+++ b/tests/ui/uv_editor.sfui@@ -57,14 +57,19 @@ shot udimexpect "UV Editor/##uvcolumns"expect "UV Editor/##uvrows"run uv_pack columns=10 rows=2 margin=6-expect_value uv_tiles == 20+# (the biggest island sets the scale: the islands fill the tiles that holds, inside the grid)+expect_value uv_tiles > 4+expect_value uv_tiles <= 20expect_value uv_pack_columns == 10expect_value uv_pack_rows == 2hover_window 0.45 0.5key fshot udim-10x2run uv_pack columns=4 rows=3 margin=6-expect_value uv_tiles == 12+expect_value uv_tiles > 4+expect_value uv_tiles <= 12+expect_value uv_max_u <= 4+remember uv_tiles gridexpect_value uv_pack_columns == 4expect_value uv_pack_rows == 3hover_window 0.45 0.5@@ -72,7 +77,8 @@ key fshot udim-4x3# The Pack button packs with the fields: still 4 x 3.click "UV Editor/Pack##uv.pack"-expect_value uv_tiles == 12+expect_value uv_tiles == $grid+expect_value uv_max_u <= 4run uv_pack tiles=1expect_value uv_tiles == 1expect_value uv_pack_columns == 1