#2543 Tensor vectors: Use tensor value, not length, for color mapping

This commit is contained in:
Unknown
2018-03-01 16:01:14 +01:00
committed by Rebecca Cox
parent 2ac9aba485
commit 82a394d588
3 changed files with 15 additions and 12 deletions

View File

@@ -301,7 +301,10 @@ void RimGeoMechView::updateCurrentTimeStep()
m_tensorPartMgr->appendDynamicGeometryPartsToModel(frameParts.p(), m_currentTimeStep);
frameParts->updateBoundingBoxesRecursive();
frameScene->addModel(frameParts.p());
if (frameParts->partCount() != 0)
{
frameScene->addModel(frameParts.p());
}
}
}
}