Skip to content
Snippets Groups Projects

Move roughness from LayerInterface to Layer (#20)

Merged Mikhail Svechnikov requested to merge m.i20 into main
All threads resolved!
Files
13
@@ -654,7 +654,7 @@ SampleItem* itemizeSample(const MultiLayer& sample, const QString& nodeName)
const auto* layer = sample.layer(layerIndex);
const LayerRoughness* top_roughness =
layerIndex == 0 ? nullptr : sample.layerRoughness(layerIndex);
layerIndex == 0 ? nullptr : sample.layer(layerIndex)->roughness();
auto* layerItem = result->createLayerItemAt();
layerItem->setMaterial(findMaterialItem(matItems, layer));
Loading