PAL13571: 'Create Mesh' dialog: selected geometry is changed after hypothesis creation.

This commit is contained in:
jfa 2006-10-05 11:17:52 +00:00
parent 95814cfa9f
commit 4c42415f0f

View File

@ -852,6 +852,10 @@ void SMESHGUI_MeshOp::createHypothesis (const int theDim,
const int theType,
const QString& theTypeName)
{
// During a hypothesis creation we might need to select some objects.
// Main dialog must not update it's own selected objects in this case.
dlg()->deactivateAll();
HypothesisData* aData = SMESH::GetHypothesisData(theTypeName.latin1());
if (!aData)
return;