From 37e39b6c00834f4711576c7f77cb0b7b5d558956 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 21 Mar 2023 00:18:25 +0000 Subject: Apply styles in first loop over controlled faces --- assetFactory/faceController.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'assetFactory') 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); } } -- cgit v1.2.3