mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3613 Fishbones : Crash when user defined locations is empty
This commit is contained in:
@@ -331,13 +331,13 @@ std::vector<double> RimFishbonesMultipleSubs::lateralLengths() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimFishbonesMultipleSubs::geometryUpdated()
|
||||
{
|
||||
computeRotationAngles();
|
||||
computeSubLateralIndices();
|
||||
|
||||
RimFishbonesCollection* collection;
|
||||
this->firstAncestorOrThisOfTypeAsserted(collection);
|
||||
collection->recalculateStartMD();
|
||||
|
||||
computeRotationAngles();
|
||||
computeSubLateralIndices();
|
||||
|
||||
RimProject* proj;
|
||||
this->firstAncestorOrThisOfTypeAsserted(proj);
|
||||
proj->reloadCompletionTypeResultsInAllViews();
|
||||
|
||||
Reference in New Issue
Block a user