#4857 Remove obsolete code

This commit is contained in:
Jacob Støren
2019-10-18 10:20:22 +02:00
parent 4253c32dac
commit ceee8b6a85
3 changed files with 0 additions and 81 deletions

View File

@@ -54,31 +54,6 @@ bool RicIntersectionBoxXSliceFeature::isCommandEnabled()
void RicIntersectionBoxXSliceFeature::onActionTriggered( bool isChecked )
{
RicIntersectionFeatureImpl::createIntersectionBoxSlize("X-slice (Intersection box)", RimIntersectionBox::PLANE_STATE_X);
// RimGridView* activeView = RiaApplication::instance()->activeGridView();
// RimGridView* activeMainOrComparisonView = RiaApplication::instance()->activeMainOrComparisonGridView();
//
// if ( activeMainOrComparisonView )
// {
// RimIntersectionCollection* coll = activeMainOrComparisonView->crossSectionCollection();
// CVF_ASSERT( coll );
//
// RimIntersectionBox* intersectionBox = new RimIntersectionBox();
// intersectionBox->name = QString( "X-slice (Intersection box)" );
//
// coll->appendIntersectionBoxAndUpdate( intersectionBox );
//
// cvf::Vec3d domainCoord = activeView->viewer()->viewerCommands()->lastPickPositionInDomainCoords();
// intersectionBox->setToDefaultSizeSlice( RimIntersectionBox::PLANE_STATE_X, domainCoord );
//
// coll->updateConnectedEditors();
// RiuMainWindow::instance()->selectAsCurrentItem( intersectionBox, false );
//
// activeMainOrComparisonView->showGridCells(false);
// RiuMainWindow::instance()->refreshDrawStyleActions();
//
// activeView->scheduleCreateDisplayModelAndRedraw();
// }
}
//--------------------------------------------------------------------------------------------------