diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-21 00:18:25 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-21 00:18:25 +0000 |
commit | 37e39b6c00834f4711576c7f77cb0b7b5d558956 (patch) | |
tree | f580b054104ddf4cbc2c4af1719c79d6d55f21d0 /assetFactory | |
parent | Move smooth property into Style and make it optional (diff) | |
download | ilt-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.cpp | 5 |
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); } } |