- theObject = self.editor.MakeIDSource(theObject)

+            theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
This commit is contained in:
eap 2010-10-01 12:44:05 +00:00
parent dcf75abef1
commit ea89003dc2

View File

@ -3428,7 +3428,7 @@ class Mesh:
if ( isinstance( theObject, Mesh )): if ( isinstance( theObject, Mesh )):
theObject = theObject.GetMesh() theObject = theObject.GetMesh()
if ( isinstance( theObject, list )): if ( isinstance( theObject, list )):
theObject = self.editor.MakeIDSource(theObject) theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
thePoint, Parameters = ParsePointStruct(thePoint) thePoint, Parameters = ParsePointStruct(thePoint)
self.mesh.SetParameters(Parameters) self.mesh.SetParameters(Parameters)
@ -3449,7 +3449,7 @@ class Mesh:
if (isinstance(theObject, Mesh)): if (isinstance(theObject, Mesh)):
theObject = theObject.GetMesh() theObject = theObject.GetMesh()
if ( isinstance( theObject, list )): if ( isinstance( theObject, list )):
theObject = self.editor.MakeIDSource(theObject) theObject = self.editor.MakeIDSource(theObject,SMESH.ALL)
mesh = self.editor.ScaleMakeMesh(theObject, thePoint, theScaleFact, mesh = self.editor.ScaleMakeMesh(theObject, thePoint, theScaleFact,
MakeGroups, NewMeshName) MakeGroups, NewMeshName)