mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ensure fly to object only uses installed fishbones
This commit is contained in:
parent
7d2c888bdc
commit
5d48389fb5
@ -471,11 +471,11 @@ cvf::BoundingBox RimFishbonesMultipleSubs::boundingBoxInDomainCoords()
|
||||
{
|
||||
cvf::BoundingBox bb;
|
||||
|
||||
for (size_t i = 0; i < m_locationOfSubs().size(); i++)
|
||||
for (auto& sub : installedLateralIndices())
|
||||
{
|
||||
for (size_t lateralIndex = 0; lateralIndex < m_lateralCountPerSub; lateralIndex++)
|
||||
for (size_t lateralIndex : sub.lateralIndices)
|
||||
{
|
||||
std::vector<cvf::Vec3d> coords = coordsForLateral(i, lateralIndex);
|
||||
std::vector<cvf::Vec3d> coords = coordsForLateral(sub.subIndex, lateralIndex);
|
||||
|
||||
for (auto c : coords)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user