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.

Multires layer-turn test poses from Base mesh (transforms into an active layer since #133)

islandmed90214fd8fa50
diff --git a/tests/test_multires_polish.cpp b/tests/test_multires_polish.cpp
index be438d97..8649961a 100644
--- a/tests/test_multires_polish.cpp
+++ b/tests/test_multires_polish.cpp
@@ -254,6 +254,7 @@ TEST(multires_layer_detail_turns_with_a_rotated_low_level) {
CHECK(maxLength(before) > 0.02f);
CHECK(run(d, "subdiv_level", {{"level", 1.0}}).ok);
+ d.activeLayer = -1; // posing the whole Part: Base mesh active (with a layer active the turn goes into it, #133)
CHECK(run(d, "transform", {{"rotate", "0,90,0"}, {"pivot", "origin"}}).ok);
CHECK(run(d, "subdiv_level", {{"level", 3.0}}).ok);
const glm::mat3 R = glm::mat3_cast(eulerRotation(glm::vec3(0, 90, 0)));