From: vsv Date: Mon, 19 May 2014 11:43:30 +0000 (+0400) Subject: Fix of bug with Parameters folder X-Git-Tag: V_0.2~45^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=56649d7dcf9c7591042fe1795f8e5d63e767af91;p=modules%2Fshaper.git Fix of bug with Parameters folder --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index a41e2c7fa..619e05c01 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -383,7 +383,7 @@ boost::shared_ptr Model_Document::feature( int Model_Document::size(const string& theGroupID) { Handle(TDataStd_ReferenceArray) aRefs; - if (groupLabel(FEATURES_GROUP).FindAttribute(TDataStd_ReferenceArray::GetID(), aRefs)) + if (groupLabel(theGroupID).FindAttribute(TDataStd_ReferenceArray::GetID(), aRefs)) return aRefs->Length(); // group is not found return 0;