We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1b17d8 commit ddbaf44Copy full SHA for ddbaf44
src/polyscope.cpp
@@ -894,7 +894,7 @@ void show(size_t forFrames) {
894
exception("must initialize Polyscope with polyscope::init() before calling polyscope::show().");
895
}
896
897
- if (isHeadless() && forFrames == 0) {
+ if (isHeadless() && forFrames == std::numeric_limits<size_t>::max()) {
898
info("You called show() while in headless mode. In headless mode there is no display to create windows on. By "
899
"default, the show() call will block indefinitely. If you did not mean to run in headless mode, check the "
900
"initialization settings. Otherwise, be sure to set a callback to make something happen while polyscope is "
0 commit comments