From 144f9b57295f7fee9306ee1a4480c165a834e6ca Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 8 Apr 2023 11:48:17 +0100 Subject: Remove no longer required getAdjacentFaceName --- assetFactory/faceController.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'assetFactory/faceController.cpp') diff --git a/assetFactory/faceController.cpp b/assetFactory/faceController.cpp index 92cc8d2..7e4b0e1 100644 --- a/assetFactory/faceController.cpp +++ b/assetFactory/faceController.cpp @@ -15,18 +15,6 @@ FaceController::apply(ModelFactoryMesh & mesh, const StyleStack & parents, const }); } -std::string -FaceController::getAdjacentFaceName( - const ModelFactoryMesh & mesh, const std::span ofrange, OpenMesh::FaceHandle nf) -{ - const auto nfrange = mesh.ff_range(nf); - if (const auto target = std::find_first_of(ofrange.begin(), ofrange.end(), nfrange.begin(), nfrange.end()); - target != ofrange.end()) { - return mesh.property(mesh.nameFaceProperty, *target); - }; - return {}; -}; - void FaceController::applySingle(ModelFactoryMesh & mesh, const StyleStack & parents, const std::string & name, Shape::CreatedFaces & faces) const -- cgit v1.2.3