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
Baking: a cancel is honoured even when worker 0 got no tile (small bakes under load ignored Cancel; bake_errors flaked under ctest -j)
islandmed6f778de9fa7b
diff --git a/src/core/Bake.cpp b/src/core/Bake.cppindex cb3265ab..d83470d2 100644--- a/src/core/Bake.cpp+++ b/src/core/Bake.cpp@@ -864,6 +864,8 @@ bool bakeMaps(const Mesh& low, const std::vector<const Mesh*>& sources, const BadMin = std::min(dMin, localMin);dMax = std::max(dMax, localMax);});+ // Only worker 0 reports progress; when the other workers took every tile, ask once more here.+ if (!cancel && progress && !progress(0.95f)) cancel = true;if (cancel) {error = "Cancelled";out = BakeResult();