From 56649d7dcf9c7591042fe1795f8e5d63e767af91 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 19 May 2014 15:43:30 +0400 Subject: [PATCH] Fix of bug with Parameters folder --- src/Model/Model_Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2