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
precise error message
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_Nut.py
diff --git
a/src/SMESH_SWIG/SMESH_Nut.py
b/src/SMESH_SWIG/SMESH_Nut.py
index a3067449a21718e47ba15909d18c434edeaea2a0..ff0df1683f1e22d4aaa38e02a59b2f1090e79c6d 100755
(executable)
--- a/
src/SMESH_SWIG/SMESH_Nut.py
+++ b/
src/SMESH_SWIG/SMESH_Nut.py
@@
-1,4
+1,3
@@
-#! /usr/bin/python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
#
@@
-98,6
+97,8
@@
Cut_1_ID = geompy.addToStudy(Cut_1, "Cut_1")
#Mesh creation
+smesh.SetCurrentStudy(salome.myStudy)
+
# -- Init --
shape_mesh = salome.IDToObject( Cut_1_ID )