FOSSEE / venturial

Venturial is a GUI for OpenFOAM.
GNU General Public License v3.0
23 stars 3 forks source link

Bug with New mesh button #6

Closed ashuftw closed 1 year ago

ashuftw commented 1 year ago

The contents of the new mesh button prompt are disabled after pressing the cancel button in the file browser opened previously via the New mesh button.

rajdeepadak commented 1 year ago

Added bug fix to this issue. The new mesh prompt contains a button to open the file browser which in turn displays the new mesh prompt by default. Clicking the file browser button again running will result a recursive call to a modal operator. This caused a segmentation fault and the entire blender window closes abruptly. Hence it is required to disable the new mesh prompt while the file browser modal operator is still running. After cancelling the file browser, the new mesh prompt is re-enabled when pressed. This solved the issue.