Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarquisbq committed Jun 12, 2024
1 parent 28c130d commit 8dbabe7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Result<> SliceTriangleGeometry::operator()()
std::vector<int32> regionIds;

// Get an object reference to the pointer
const auto& triRegionId = m_DataStructure.getDataRefAs<Int32Array>(m_InputValues->RegionIdArrayPath);
const auto* triRegionId = m_DataStructure.getDataAs<Int32Array>(m_InputValues->RegionIdArrayPath);

int32 edgeCounter = 0;
for(usize i = 0; i < numTris; i++)
Expand All @@ -74,7 +74,7 @@ Result<> SliceTriangleGeometry::operator()()
// get region Id of this triangle (if they are available)
if(m_InputValues->HaveRegionIds)
{
regionId = triRegionId[i];
regionId = (*triRegionId)[i];
}
// determine which slices would hit the triangle
auto minTriDim = std::numeric_limits<float32>::max();
Expand Down

0 comments on commit 8dbabe7

Please sign in to comment.