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.

Studio gate in the no-curl transport's getOnce too (the stub counted a refused request)

islandmed202c5f6e0ff0
diff --git a/src/ai/Http.cpp b/src/ai/Http.cpp
index 487e1a29..3d2ef71a 100644
--- a/src/ai/Http.cpp
+++ b/src/ai/Http.cpp
@@ -491,9 +491,10 @@ HttpResponse httpRequestStream(const std::string&, const std::string& url, const
namespace {
-HttpResponse getOnce(const std::string&, const std::string&, const std::vector<std::string>&, const std::string&, int,
+HttpResponse getOnce(const std::string&, const std::string& url, const std::vector<std::string>&, const std::string&, int,
const std::function<bool(const char*, size_t)>&, const std::function<bool(uint64_t, uint64_t)>&,
std::string&) {
+ if (HttpResponse no; refused(url, no)) return no; // studio mode, as in the real transports
++gRequests;
HttpResponse r;
r.error = "This build of SculptForge has no HTTP support (libcurl was not found at build time)";