Fix effects of objects not always working, depending on layers/object position in the list

This commit is contained in:
Florian Rival
2021-09-13 13:35:26 +02:00
committed by GitHub
parent 2a19ea5182
commit 24c74af79b

View File

@@ -37,7 +37,7 @@ void ExposeProjectEffects(
}
}
for (std::size_t i; i < layout.GetObjectsCount(); i++) {
for (std::size_t i = 0; i < layout.GetObjectsCount(); i++) {
auto& object = layout.GetObject(i);
auto& effects = object.GetEffects();
for (std::size_t e = 0; e < effects.GetEffectsCount(); e++) {