RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis.

This commit is contained in:
rnv 2011-04-13 08:03:11 +00:00
parent b05c8c76a5
commit e079b751f3

View File

@ -342,8 +342,9 @@ namespace {
{ {
StdMeshersGUI_ObjectReferenceParamWdg* w = StdMeshersGUI_ObjectReferenceParamWdg* w =
new StdMeshersGUI_ObjectReferenceParamWdg( filter, 0, /*multiSel=*/true); new StdMeshersGUI_ObjectReferenceParamWdg( filter, 0, /*multiSel=*/true);
w->SetObjects( objEntries ); //RNV: Firstly, activate selection, then set objects
w->activateSelection(); w->activateSelection();
w->SetObjects( objEntries );
return w; return w;
} }