1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 14:15:36 +00:00
openmw/apps/opencs
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
2014-08-24 02:37:50 +02:00
..
model hide record type column in resources tables 2014-08-12 11:32:38 +02:00
view fixed mixed-up tooltip 2014-08-12 11:07:54 +02:00
CMakeLists.txt added visibility flags 2014-07-31 13:25:30 +02:00
editor.cpp consider script blacklist in OpenCS verifier 2014-07-21 12:15:21 +02:00
editor.hpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
main.cpp Merge branch 'operations' into load 2014-05-08 13:17:24 +02:00