summaryrefslogtreecommitdiff
path: root/assetFactory
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-21 00:18:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-21 00:18:25 +0000
commit37e39b6c00834f4711576c7f77cb0b7b5d558956 (patch)
treef580b054104ddf4cbc2c4af1719c79d6d55f21d0 /assetFactory
parentMove smooth property into Style and make it optional (diff)
downloadilt-37e39b6c00834f4711576c7f77cb0b7b5d558956.tar.bz2
ilt-37e39b6c00834f4711576c7f77cb0b7b5d558956.tar.xz
ilt-37e39b6c00834f4711576c7f77cb0b7b5d558956.zip
Apply styles in first loop over controlled faces
Diffstat (limited to 'assetFactory')
-rw-r--r--assetFactory/faceController.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/assetFactory/faceController.cpp b/assetFactory/faceController.cpp
index 2367f8d..25bf833 100644
--- a/assetFactory/faceController.cpp
+++ b/assetFactory/faceController.cpp
@@ -47,11 +47,6 @@ FaceController::applySingle(ModelFactoryMesh & mesh, const StyleStack & parents,
}
faces.merge(std::move(newFaces));
}
- else {
- applyStyle(mesh, parents + this, faceHandle);
- }
- }
- for (const auto & [faceName, faceHandle] : controlledFaces) {
applyStyle(mesh, parents + this, faceHandle);
}
}