stuffbydavid / Mine-imator

3D movie maker based on the sandbox game Minecraft
https://www.mineimator.com
177 stars 36 forks source link

Move schematic loading to separate thread. #7

Open gameboys245 opened 3 years ago

gameboys245 commented 3 years ago

When i am loading in a large schematic Windows auto-closes mine-imator for not responding. This can be fixed by moving the schematic loading to separate thread that reports back to the main thread. This way the program can continue to respond and load schematics.

Nimikita commented 3 years ago

Mine-imator uses GameMaker which compiles single-threaded games/apps. While through external functions multi-threading is semi-possible, it's limited in what data the program can retrieve from other threads.