#3426 Fix missing update of well targets when view is scaled

This commit is contained in:
Jacob Støren
2018-10-02 16:29:58 +02:00
parent d9e8537974
commit e3c7b4ffa4
4 changed files with 19 additions and 1 deletions

View File

@@ -631,6 +631,17 @@ PdmUiSelectionVisualizer3d::~PdmUiSelectionVisualizer3d()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void PdmUiSelectionVisualizer3d::updateVisibleEditors()
{
for (auto editor: m_active3DEditors)
{
if (editor) editor->updateUi();
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -229,6 +229,8 @@ class PdmUiSelectionVisualizer3d : public QObject, caf::SelectionChangedReceiver
public:
PdmUiSelectionVisualizer3d(caf::Viewer* ownerViewer);
~PdmUiSelectionVisualizer3d();
void updateVisibleEditors();
protected:
virtual void onSelectionManagerSelectionChanged( const std::set<int>& changedSelectionLevels ) override;