Enable all 3D Viewports for running simulation
Currently, the 3D Viewport of Blender needs to be set to the (default) Object Mode
before saving and running the simulation. However, the Blender file might be saved in a different 3D Viewport (e.g. Edit Mode
), which will not allow the simulation to run. The mode (i.e. 3D Viewport) can be determined by the Blender API and changed back to Object Mode
to omit this limitation.