Remove local variable definition shadowing other variable

This commit is contained in:
Magne Sjaastad 2018-09-28 09:39:01 +02:00
parent c21655f2b4
commit 09baef3e1c

View File

@ -73,7 +73,7 @@ std::vector<cvf::Mat4d> RivSectionFlattner::calculateFlatteningCSsForPolyline(co
cvf::Vec3d p2 = polyLine[1];
cvf::Mat4d sectionLocalCS = calculateSectionLocalFlatteningCS(p1, p2, extrusionDir);
cvf::Mat4d invSectionCS = sectionLocalCS.getInverted();
invSectionCS = sectionLocalCS.getInverted();
invSectionCS.setTranslation(invSectionCS.translation() + startOffset);
}