Browse Source

Do not fail on recursive iteration. Not ideal but should work for now and not crash. Fixes #25272
Eventually some sort of main even queue should be implemented to do this properly.

Juan Linietsky 6 years ago
parent
commit
99d997e424
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/main.cpp

+ 2 - 1
main/main.cpp

@@ -1800,7 +1800,8 @@ static uint64_t idle_process_max = 0;
 
 bool Main::iteration() {
 
-	ERR_FAIL_COND_V(iterating, false);
+	//for now do not error on this
+	//ERR_FAIL_COND_V(iterating, false);
 
 	iterating = true;