mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
- theObject = self.editor.MakeIDSource(theObject)
+ theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
This commit is contained in:
parent
dcf75abef1
commit
ea89003dc2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user