Hello,
We have a plugin for Rhino 6 for Windows developed using the C++ SDK. We do an operation that takes 5-10 minutes to compute, and we are making use of the TBB library to parallelize. We have implemented as well the progressbar (using StatusBarProgressMeter methods). When running on debug from Visual Studio, the user cannot interact with the scene but Rhino updates the progress bar (which is the behavior that we’re looking for).
When we run the plugin without visual studio (building the .rhp as Release/Debug), after some iterations of our algorithm, Rhino hangs (the window turns white and the title bar contains “no responding”) and the progress bar doesn’t update. After 5-10 mins, our algorithm completes and we get the expected result.
We have tried to run the algorithm on a separate thread using std::thread, but we observe the same behavior. Any ideas to prevent that from happening?
Thanks,
Pau