Fix initial effect errors

This commit is contained in:
Automatic Release Builder 2021-06-15 02:33:20 +01:00
parent ee0b22fd52
commit b2ae7e9e63

View File

@ -1529,9 +1529,10 @@ bool Effect::realizeTechniques(const SGReaderWriterOptions* options)
return true;
PropertyList tniqList = root->getChildren("technique");
itr != e;
++itr)
buildTechnique(this, *itr, options);
for (const auto& tniq : tniqList) {
buildTechnique(this, tniq, options);
}
_isRealized = true;
return true;
}