mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1239 Do not show fracture when fracture is unchecked
This commit is contained in:
@@ -231,6 +231,8 @@ void RivWellFracturePartMgr::appendGeometryPartsToModel(cvf::ModelBasicList* mod
|
||||
{
|
||||
clearGeometryCache();
|
||||
|
||||
if (!m_rimFracture->isChecked()) return;
|
||||
|
||||
if (m_part.isNull())
|
||||
{
|
||||
if (m_rimFracture->attachedFractureDefinition())
|
||||
|
||||
@@ -172,7 +172,8 @@ void RimFracture::fieldChangedByUi(const caf::PdmFieldHandle* changedField, cons
|
||||
|
||||
if (changedField == &azimuth ||
|
||||
changedField == &m_fractureTemplate ||
|
||||
changedField == &stimPlanTimeIndexToPlot)
|
||||
changedField == &stimPlanTimeIndexToPlot ||
|
||||
changedField == this->objectToggleField())
|
||||
{
|
||||
|
||||
setRecomputeGeometryFlag();
|
||||
|
||||
Reference in New Issue
Block a user