mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 15:36:09 -06:00
Fixed possible CppCheck detected bug regarding Result info and result plot for Geomech models. Triangle hit was not propagated properly.
This commit is contained in:
parent
4312968124
commit
ad517894d3
@ -177,7 +177,7 @@ RiuGeoMechSelectionItem::RiuGeoMechSelectionItem(RimGeoMechView* view,
|
||||
m_elementFace(elementFace),
|
||||
m_localIntersectionPoint(localIntersectionPoint),
|
||||
m_hasIntersectionTriangle(true),
|
||||
m_intersectionTriangle(m_intersectionTriangle)
|
||||
m_intersectionTriangle(intersectionTriangle)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ public:
|
||||
cvf::Color3f color,
|
||||
int elementFace,
|
||||
const cvf::Vec3d& localIntersectionPoint,
|
||||
const std::array<cvf::Vec3f, 3>& m_intersectionTriangle );
|
||||
const std::array<cvf::Vec3f, 3>& intersectionTriangle );
|
||||
virtual ~RiuGeoMechSelectionItem() {};
|
||||
|
||||
virtual RiuSelectionType type() const
|
||||
|
Loading…
Reference in New Issue
Block a user