andyp123 / blender_io_mesh_bsp

Blender addon that imports Quake BSP files
108 stars 23 forks source link

Import speed is slow, especially for large maps #4

Closed andyp123 closed 5 years ago

andyp123 commented 5 years ago

Files over a couple of megabytes take way too long to load. Some of the large maps around, can take around a minute, which is ridiculous for a Quake map. It would be wonderful if this could be sped up somehow.

andyp123 commented 5 years ago

Turns out that everything was slow because I was working with objects linked to the scene, doing context switching and selection/deselection to make things work. Moving everything to data and then linking to the scene after creation is MUCH faster. This gives 300%+ speedup, and even huge maps don't take that long to import now.