Revision: 75634
http://sourceforge.net/p/brlcad/code/75634
Author: starseeker
Date: 2020-04-29 17:44:48 +0000 (Wed, 29 Apr 2020)
Log Message:
-----------
Don't update mid-render
Modified Paths:
--------------
brlcad/trunk/src/libdm/tests/tcl_img.cpp
Modified: brlcad/trunk/src/libdm/tests/tcl_img.cpp
===================================================================
--- brlcad/trunk/src/libdm/tests/tcl_img.cpp 2020-04-29 17:26:37 UTC (rev
75633)
+++ brlcad/trunk/src/libdm/tests/tcl_img.cpp 2020-04-29 17:44:48 UTC (rev
75634)
@@ -121,6 +121,11 @@
int width = idata->bwidth;
int height = idata->bheight;
+ // If we're mid-render, don't update or report success
+ if (idata->render_running) {
+ return 0;
+ }
+
// Let Tcl/Tk know the photo data has changed, so it can update the visuals
// accordingly
Tk_PhotoImageBlock dm_data;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits