Fix countershaded configure
parent
dae8fcdfc7
commit
e2ca6ec5fa
|
@ -172,9 +172,8 @@ void TextureGenerator::prepare()
|
||||||
materialId = QUuid(materialIdIt->second);
|
materialId = QUuid(materialIdIt->second);
|
||||||
QUuid partId = QUuid(partIt.first);
|
QUuid partId = QUuid(partIt.first);
|
||||||
updatedMaterialIdMap.insert({partId, materialId});
|
updatedMaterialIdMap.insert({partId, materialId});
|
||||||
auto countershadedIt = partIt.second.find("countershaded");
|
updatedCountershadedMap.insert({partId,
|
||||||
if (countershadedIt != partIt.second.end())
|
isTrueValueString(valueOfKeyInMapOrEmpty(partIt.second, "countershaded"))});
|
||||||
updatedCountershadedMap.insert({partId, isTrueValueString(countershadedIt->second)});
|
|
||||||
}
|
}
|
||||||
for (const auto &bmeshNode: m_outcome->nodes) {
|
for (const auto &bmeshNode: m_outcome->nodes) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue