mirror of https://github.com/godotengine/godot
We need to propagate the hacky checks from the raycast config to the
lightmapper config, as the failure of a `can_build()` check is not notified to
other modules (which might even be checked further depending on the processing
order in SConstruct).
A more thorough fix would be to change SConstruct to do two loops on modules:
one to check `can_build()` and disable modules which can't build, then another
one to rechecked `can_build()` with the new lineup and do further config.
But there would be more risk for regressions than with this ad hoc hack.
Similar story for the `platform/x11/detect.py` change... oh my eyes :(
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| SCsub | ||
| config.py | ||
| lightmapper_cpu.cpp | ||
| lightmapper_cpu.h | ||
| register_types.cpp | ||
| register_types.h | ||