Open rschell opened 2 years ago
I have a Commit if there is interest in improving this.
well.. do you really want to wait for infinite amount of time everytime you click on something in canvas...
we need to integrate some accelerated 3D visualisation canvas... #591 ?
My experience is the timeout can be changed from inf to any other setting during a canvas draw, if the user does not want to wait.
I guess the other choice would be to remove 'inf' from the list box selection to avoid a mixed mode variable.
If the user selects the "inf" entry in the timeout selection box, that entry gets immediately converted to an integer with a value of 300.
Suggest changing DRAW_TIME global parameter to accept either the string "inf" as entered in the combox box list or an integer. By delaying its conversion to an integer and adding a trap to make sure DRAW_TIME is not the "inf" string in the timeout test allows an infinite timeout to occur: