Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
untabify
[modules/smesh.git]
/
src
/
SMESH_SWIG_WITHIHM
/
libSMESH_Swig.cxx
diff --git
a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx
b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx
index 905ca5f51ade50fd3f9ba8e222d38a118ba5d611..5aa7e1aeda34a1e70e4f06e31c03591d8e9ed223 100644
(file)
--- a/
src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx
+++ b/
src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-380,6
+380,10
@@
SMESH_Swig::Init(int theStudyID)
aPixmap->SetPixMap( "ICON_OBJBROWSER_SMESH" );
aPixmap->UnRegister();
aPixmap->SetPixMap( "ICON_OBJBROWSER_SMESH" );
aPixmap->UnRegister();
+ SALOMEDS::UseCaseBuilder_var useCaseBuilder = myStudy->GetUseCaseBuilder();
+ useCaseBuilder->SetRootCurrent();
+ useCaseBuilder->Append( aSComponent.in() );
+
myStudyBuilder->DefineComponentInstance(aSComponent,aSMESHGen);
if (aLocked)
myStudy->GetProperties()->SetLocked(true);
myStudyBuilder->DefineComponentInstance(aSComponent,aSMESHGen);
if (aLocked)
myStudy->GetProperties()->SetLocked(true);