Skip to content

Commit

Permalink
linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brossee-adsk committed Dec 4, 2024
1 parent 3e996cc commit 9a5ee41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MaxUsd/MappedAttributeBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ class FloatNArray
case 1: return attribute.Set(*floatArray, timeCode);
case 2: return attribute.Set(*float2Array, timeCode);
case 3: return attribute.Set(*float3Array, timeCode);
}
}
return false;
}

void Set(size_t index, const Point3& p)
{
switch (dimension) {
switch (dimension)
{
case 1: (*floatArray)[index] = p.x; break;
case 2: (*float2Array)[index] = pxr::GfVec2f(p.x, p.y); break;
case 3: (*float3Array)[index] = pxr::GfVec3f(p.x, p.y, p.z); break;
Expand Down

0 comments on commit 9a5ee41

Please sign in to comment.