Skip to content

Commit 185bc5b

Browse files
committed
Further fix to flatten_with_indices.
1 parent 6c0ce1b commit 185bc5b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/usdGeom.cc

-5
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,6 @@ bool GeomPrimvar::flatten_with_indices(const double t, std::vector<T> *dest, con
260260
std::vector<T> value;
261261
if (_attr.get_value<std::vector<T>>(t, &value, tinterp)) {
262262

263-
if (_indices.empty()) {
264-
(*dest) = value;
265-
return true;
266-
}
267-
268263
uint32_t elementSize = _attr.metas().elementSize.value_or(1);
269264

270265
// Get indices at specified time

0 commit comments

Comments
 (0)