mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Fixed disappearing shadow bug each time a domain was automatically reloaded
This commit is contained in:
parent
e574be7855
commit
d2c28c3c21
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ LightStage::Index LightStage::addLight(const LightPointer& light) {
|
|||
_descs.emplace_back(Desc());
|
||||
} else {
|
||||
assert(_descs[lightId].shadowId == INVALID_INDEX);
|
||||
_descs.emplace(_descs.begin() + lightId, Desc());
|
||||
_descs[lightId] = Desc();
|
||||
}
|
||||
|
||||
// INsert the light and its index in the reverese map
|
||||
|
|
Loading…
Reference in a new issue