Salome HOME
merge master
authorPaul RASCLE <paul.rascle@edf.fr>
Thu, 7 Jan 2016 17:15:04 +0000 (18:15 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Thu, 7 Jan 2016 17:15:04 +0000 (18:15 +0100)
1  2 
src/Tools/blocFissure/CMakeLists.txt
src/Tools/blocFissure/CasTests/CMakeLists.txt
src/Tools/blocFissure/gmu/CMakeLists.txt
src/Tools/blocFissure/gmu/triedreBase.py
src/Tools/blocFissure/ihm/fissureCoude_plugin.py
src/Tools/blocFissure/materielCasTests/CMakeLists.txt

Simple merge
@@@ -26,10 -23,11 +26,11 @@@ def triedreBase()
      OX = geompy.MakeVectorDXDYDZ(1, 0, 0)
      OY = geompy.MakeVectorDXDYDZ(0, 1, 0)
      OZ = geompy.MakeVectorDXDYDZ(0, 0, 1)
 -
 +  
-     geomPublish(initLog.debug,  O, 'O' )
-     geomPublish(initLog.debug,  OX, 'OX' )
-     geomPublish(initLog.debug,  OY, 'OY' )
-     geomPublish(initLog.debug,  OZ, 'OZ' )
+     if not geompy.myStudy.FindObjectByName( 'OX', geompy.ComponentDataType() ):
 -      geompy.addToStudy( O, 'O' )
 -      geompy.addToStudy( OX, 'OX' )
 -      geompy.addToStudy( OY, 'OY' )
 -      geompy.addToStudy( OZ, 'OZ' )
++      geomPublish(initLog.debug,  O, 'O' )
++      geomPublish(initLog.debug,  OX, 'OX' )
++      geomPublish(initLog.debug,  OY, 'OY' )
++      geomPublish(initLog.debug,  OZ, 'OZ' )
  
    return O, OX, OY, OZ