Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup
See merge request OpenMW/openmw!3033
(cherry picked from commit 364bc91f5b2ef6d79f21545f43d131d1d71b342c)
c6eed2a6 Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup
If directory path is a symlink it should be showed and written to config files
as is. Between launcher runs the resulting canonical path may be different so
the resolved path becomes outdated.
Skipping the simulation, switching off collisions, and other approaches were not correct as they either broke some mods, or some core mechanics of the engine such as teleportation or waterwalking. As it turns out, the way to go is to simply do _nothing_ (modulo some gymnastics to account for the 1 frame difference in case of async).
Scripted movement and the unstucking logic tends to collide. Early out of unstuck in case the actor doesn't attempt to move. This means there is no AI package for NPC, which are the case for some boats and striders, or the player is content with their position.
Shaders, if deemed necessary, get attached to the node mentioned by the
top of the requirements stack. Previously an empty stack was incorrectly
assumed to mean no shaders were required, but we found out that was
wrong. We need to put shaders *somewhere*, and the root of the subgraph
we're modifying should be the best place.
std::shared_mutex in combination with std::condition_variable_any may
lead to a situation when notify_all does not wake up all waiting threads
on Windows. Use separate std::mutex and std::condition_variable to
notify about new job. Encapsulate all workers synchronization logic into
a separate type.
Fix Windows freeze catcher
See merge request OpenMW/openmw!2795
(cherry picked from commit afa6643c6ee81e3372d28008f191aacbb5e00630)
5b3e9e15 Maybe fix Windows freeze catcher
Limit max bullet supported threads by BT_MAX_THREAD_COUNT - 1
See merge request OpenMW/openmw!2797
(cherry picked from commit 31ae1cd339e42dfb6601e4138d6378bd80e0edba)
949b9191 Limit max bullet supported threads by BT_MAX_THREAD_COUNT - 1
Apply minor fixes to Lua documentation
See merge request OpenMW/openmw!2785
(cherry picked from commit 56c8c25a0e3521c7d9662967363bf61ae0f5a135)
ccdd381f Minor fixes to Lua documentation
Fix executable for silicon builds
See merge request OpenMW/openmw!2767
(cherry picked from commit 3979d540b142922c46c3d31d331ca71ffb070bbb)
f729a280 Fix executable for silicon builds