1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 10:15:38 +00:00
openmw/apps/openmw
Bo Svensson 3042c000c6
fixes setActorFade logic errors (#3195)
* resets state updater to apply light settings (#3141)

resets state updater to apply light settings

With this PR we achieve the same effect with fewer lines of code.

* fixes LightSource logic errors

We currently update `LightSource::setActorFade` in `TransparencyUpdater`. There are several logic errors inherent in this approach:
1. We fail to update `LightSource::setActorFade` for off screen actors because their `TransparencyUpdater` cull callback is not invoked.
2. We fail to update `LightSource::setActorFade` in the instant that a `TransparencyUpdater` is removed.
3. We fail to update `setActorFade` when an `mExtraLightSource` is created after calling `Animation::setAlpha`.
With this PR we avoid such issues by updating `LightSource::setActorFade` in `Animation::setAlpha` and `Animation::addExtraLightSource` instead.
2021-11-04 16:53:57 +01:00
..
mwbase Rework again SetPos command to make more mods work. 2021-10-29 23:20:17 +02:00
mwclass Merge branch 'recalc_mana' into 'master' 2021-10-26 08:58:04 +00:00
mwdialogue improves MWClass mapping (#3166) 2021-10-11 13:46:21 +02:00
mwgui refactors premultiplied alpha (#3189) 2021-10-25 09:28:32 +02:00
mwinput gamepad cursor speed fix 2021-10-01 09:19:26 +10:00
mwlua Refactoring. Lua Callback is moved from apps/openmw/mwlua to components/lua. 2021-10-31 17:47:46 +01:00
mwmechanics Allow creatures to use torches 2021-10-31 20:25:37 +01:00
mwphysics Merge branch 'phys_perf_test' into 'master' 2021-11-03 11:49:44 +00:00
mwrender fixes setActorFade logic errors (#3195) 2021-11-04 16:53:57 +01:00
mwscript Rework again SetPos command to make more mods work. 2021-10-29 23:20:17 +02:00
mwsound Stop trying to play non-existent music files started by scripts 2021-10-13 22:40:07 +02:00
mwstate Filter saves by the first esm/omwgame rather than by the first content file (that can be a universal omwaddon/omwscripts) 2021-10-26 21:52:42 +02:00
mwworld fixes assertion (#3215) 2021-11-04 10:15:05 +01:00
android_main.cpp android: Switch to C++ 2019-04-28 18:21:31 -04:00
CMakeLists.txt Merge branch 'puddle' into 'master' 2021-10-30 19:26:32 +00:00
doc.hpp
engine.cpp Filter saves by the first esm/omwgame rather than by the first content file (that can be a universal omwaddon/omwscripts) 2021-10-26 21:52:42 +02:00
engine.hpp Load LuaScriptsCfg from both *.omwscripts and *.omwaddon files. 2021-10-26 21:52:42 +02:00
main.cpp Load LuaScriptsCfg from both *.omwscripts and *.omwaddon files. 2021-10-26 21:52:42 +02:00
options.cpp Load LuaScriptsCfg from both *.omwscripts and *.omwaddon files. 2021-10-26 21:52:42 +02:00
options.hpp Add tests for openmw options 2021-10-05 22:51:12 +02:00