#2092 Cross Plot : Detect if curve is a cross plot curve based on anchestor

This commit is contained in:
Magne Sjaastad
2017-11-14 12:58:24 +01:00
parent 1376727386
commit d198ae44ba
3 changed files with 19 additions and 22 deletions

View File

@@ -61,7 +61,6 @@ void RicNewSummaryCrossPlotCurveFeature::onActionTriggered(bool isChecked)
RimSummaryCurve* newCurve = new RimSummaryCurve();
cvf::Color3f curveColor = RicWellLogPlotCurveFeatureImpl::curveColorFromTable(plot->curveCount());
newCurve->setColor(curveColor);
newCurve->setAsCrossPlotCurve();
plot->addCurveAndUpdate(newCurve);