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
Merge remote-tracking branch 'origin/fix/pen-ui-view-speed' into batch/0.11.15
islandmed9aa5e48d2533
diff --cc src/app/UiTest.cppindex eab1be42,aedb683b..01ecbde8--- a/src/app/UiTest.cpp+++ b/src/app/UiTest.cpp@@@ -976,25 -961,11 +976,30 @@@ double Demo::query(const std::string& nfor (const std::string& o : off) std::fprintf(stderr, "offscreen: %s\n", o.c_str());return double(off.size());}+ if (name == "hscrolled_windows") { // shown windows scrolled sideways now (a sideways wheel moved them); names them+ int n = 0;+ for (ImGuiWindow* w : ImGui::GetCurrentContext()->Windows)+ if (w->Active && !w->Hidden && std::abs(w->Scroll.x) > 0.5f) {+ std::fprintf(stderr, "hscrolled: %s (%.0f px)\n", w->Name, w->Scroll.x);+ ++n;+ }+ return n;+ }+ if (name == "hscroll_windows") { // shown vertical windows (trays, side shelves) wider inside than out; names them+ int n = 0;+ for (ImGuiWindow* w : ImGui::GetCurrentContext()->Windows)+ if (w->Active && !w->Hidden && w->Size.y > w->Size.x && w->ScrollMax.x > 0.5f &&+ !(w->Flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup))) {+ std::fprintf(stderr, "hscroll: %s (%.0f px over %.0f)\n", w->Name, w->ScrollMax.x, w->Size.x);+ ++n;+ }+ return n;+ }+ if (name.compare(0, 11, "past_right:") == 0) { // past_right:WINDOW: its items cut off at its right edge last frame+ const std::vector<std::string> past = Demo::pastRightEdge(name.substr(11));+ for (const std::string& p : past) std::fprintf(stderr, "past right edge: %s\n", p.c_str());+ return double(past.size());+ }if (name == "library_open") return app_.libraryBrowser_.open() ? 1.0 : 0.0;if (name == "guide_open") return app_.guide_.isOpen() ? 1.0 : 0.0;if (name == "guide_hits") return double(app_.guide_.searchHits());