Skip to content

Commit 47b5d77

Browse files
committed
USD PointInstancerAlgo : Remove unnecessary GetTimeSamples() call
We're not using the result anywhere. I assume this was an early attempt at ignoring unauthored values, eventually replaced by the code below.
1 parent 30ba213 commit 47b5d77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/IECoreUSD/src/IECoreUSD/PointInstancerAlgo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ IECore::ObjectPtr readPointInstancer( pxr::UsdGeomPointInstancer &pointInstancer
8686
Canceller::check( canceller );
8787
PrimitiveAlgo::readPrimitiveVariable( pointInstancer.GetAngularVelocitiesAttr(), time, newPoints.get(), "angularVelocity" );
8888

89-
std::vector<double> times;
90-
pointInstancer.GetInvisibleIdsAttr().GetTimeSamples( &times );
9189
if( pointInstancer.GetInvisibleIdsAttr().HasAuthoredValue() )
9290
{
9391
DataPtr cortexInvisIds = DataAlgo::fromUSD( pointInstancer.GetInvisibleIdsAttr(), time, true );

0 commit comments

Comments
 (0)