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
Merge multi-study removal branch.
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_MeshUtils.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_MeshUtils.cxx
b/src/SMESHGUI/SMESHGUI_MeshUtils.cxx
index 9b3d606a0b2507a3b90569116c5ca3e122b18a3c..0e322fc4a7c97fc37459a51537a7d02013b793f3 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MeshUtils.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshUtils.cxx
@@
-64,7
+64,7
@@
namespace SMESH
{
QString baseName = thePostfix.isEmpty() ?
theBaseName : theBaseName + "_" + thePostfix;
{
QString baseName = thePostfix.isEmpty() ?
theBaseName : theBaseName + "_" + thePostfix;
- if ( _PTR(Study) aStudy =
GetActiveStudyDocument
() ) {
+ if ( _PTR(Study) aStudy =
getStudy
() ) {
QString name = baseName;
while ( !aStudy->FindObjectByName( name.toLatin1().data(), "SMESH" ).empty() ) {
int nb = 0;
QString name = baseName;
while ( !aStudy->FindObjectByName( name.toLatin1().data(), "SMESH" ).empty() ) {
int nb = 0;
@@
-90,7
+90,7
@@
namespace SMESH
QString baseName = thePostfix.isEmpty() ?
theBaseName : theBaseName + "_" + thePostfix;
QString name = baseName;
QString baseName = thePostfix.isEmpty() ?
theBaseName : theBaseName + "_" + thePostfix;
QString name = baseName;
- if ( _PTR(Study) aStudy =
GetActiveStudyDocument
() ) {
+ if ( _PTR(Study) aStudy =
getStudy
() ) {
_PTR(SObject) p = theParent;
if ( !p ) p = aStudy->FindComponent( "SMESH" );
if ( p ) {
_PTR(SObject) p = theParent;
if ( !p ) p = aStudy->FindComponent( "SMESH" );
if ( p ) {