]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Debug for fields
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 24 Nov 2016 17:23:00 +0000 (20:23 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 24 Nov 2016 17:23:12 +0000 (20:23 +0300)
src/CollectionPlugin/CollectionPlugin_WidgetField.cpp
src/Config/dataModel.xml

index 1c6ee6d47f0758069bbd70966643febda70e63e8..fcd7b89c2c19fa9278d3955e326a70222da83055 100644 (file)
@@ -737,9 +737,9 @@ void CollectionPlugin_WidgetField::onSelectionChanged()
   QList<ModuleBase_ViewerPrsPtr> aSelected = 
     myWorkshop->selection()->getSelected(ModuleBase_ISelection::AllControls);
 
-  //clearData();
   AttributeSelectionListPtr aSelList = 
     myFeature->data()->selectionList(CollectionPlugin_Field::SELECTED_ID());
+  aSelList->setSelectionType(getSelectionType(myShapeTypeCombo->currentIndex()));
   aSelList->clear();
 
   ResultPtr aResult;
index 783b7b0e161a2844d100eeb5ced71b9cbadd6033..8a73f9247704d68b10dd245e2676043f332c4822 100644 (file)
@@ -10,6 +10,7 @@
         <folder name="Parameters" group_type="Parameters" icon=":pictures/params_folder.png"
                 folder_features="ParametersMgr"/>
         <folder name="Constructions" group_type="Construction" icon=":pictures/constr_folder.png"/>
+        <folder name="Fields" group_type="Fields" icon=":pictures/constr_folder.png"/>
         <folder name="Groups" group_type="Groups" icon=":pictures/constr_folder.png" show_empty="false"/>
         <folder name="Results" group_type="Bodies" icon=":pictures/constr_folder.png"/>
     </sub_document>