Skip to content

Commit ae17d34

Browse files
committed
add stack trace for UI thread CSG ops
1 parent dc19553 commit ae17d34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/eu/mihosoft/vrl/v3d/CSGClient.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ public static void close() {
203203
}
204204

205205
public static boolean isRunning() {
206-
if(javafx.application.Platform.isFxApplicationThread())
206+
if(javafx.application.Platform.isFxApplicationThread()) {
207+
new Exception("ERROR! CSG operation detected on UI thread, this is a BAD idea!");
207208
return false;// do not run operation on UI thread
209+
}
208210
if (isServerCall())
209211
return false;
210212
if (getClient() == null)

0 commit comments

Comments
 (0)