Skip to content

Commit 7684514

Browse files
authored
Merge pull request #1359 from danieldresser-ie/distributePointsUpdate
MeshAlgo : Remove deprecated distributePoints signature
2 parents 5c491aa + c9b8c40 commit 7684514

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

include/IECoreScene/MeshAlgo.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ IECORESCENE_API void reorderVertices( MeshPrimitive *mesh, int id0, int id1, int
9797
/// vertex spacing, provided the UVs are well layed out.
9898
IECORESCENE_API PointsPrimitivePtr distributePoints( const MeshPrimitive *mesh, float density = 100.0, const Imath::V2f &offset = Imath::V2f( 0 ), const std::string &densityMask = "density", const std::string &uvSet = "uv", const std::string &refPosition = "P", const IECore::StringAlgo::MatchPattern &primitiveVariables = "", const IECore::Canceller *canceller = nullptr );
9999

100-
// Deprecated signature without support for primitiveVariables
101-
IECORESCENE_API PointsPrimitivePtr distributePoints( const MeshPrimitive *mesh, float density = 100.0, const Imath::V2f &offset = Imath::V2f( 0 ), const std::string &densityMask = "density", const std::string &uvSet = "uv", const std::string &refPosition = "P", const IECore::Canceller *canceller = nullptr );
102-
103-
104100
/// Split the input mesh in to N meshes based on the N unique values contained in a segment primitive variable.
105101
/// Using a class allows for the initialization work to be done once, and shared when actually splitting
106102
/// ( splitting may be performed on multiple threads )

src/IECoreScene/MeshAlgoDistributePoints.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,3 @@ PointsPrimitivePtr MeshAlgo::distributePoints( const MeshPrimitive *mesh, float
643643
);
644644
return result;
645645
}
646-
647-
//Old signature for backwards compatibility
648-
PointsPrimitivePtr MeshAlgo::distributePoints( const MeshPrimitive *mesh, float density, const Imath::V2f &offset, const std::string &densityMask, const std::string &uvSet, const std::string &refPosition, const Canceller *canceller )
649-
{
650-
return MeshAlgo::distributePoints( mesh, density, offset, densityMask, uvSet, refPosition, "", canceller );
651-
}

0 commit comments

Comments
 (0)