rhiestan / Regard3D

A open source structure-from-motion program based on OpenMVG.
241 stars 43 forks source link

Cancel button #12

Open omgitsraven opened 7 years ago

omgitsraven commented 7 years ago

So I'm trying out different settings for computing matches, on data sets of various sizes, and, I'm now 16 hours into one of my tests and the bar is only 75% full... I'm going away on a trip soon, and I might not be able to close this program..!

I guess I could always ctrl-alt-delete and close task, but I'm not sure if that would damage some of the other data in the project... There should really be a button to cancel an operation in progress if it turns out it's going to take much much too long to wait for it to finish!

rhiestan commented 7 years ago

You can always kill the program, it does no harm. You will have an entry in the project tree which doesn't contain proper data, you can delete it. Cancelling is hard - you need to check every now and then whether the user has pressed the cancel button. Since Regard3D calls functions of libraries, there is no possibility to do that, other than changing the libraries.