0023366: [CEA 1972] Replacing int by bool in a python script

This commit is contained in:
skv 2016-10-14 14:24:01 +03:00
parent a5ebfce8d1
commit d27962672e
2 changed files with 4 additions and 4 deletions

View File

@ -15,6 +15,6 @@ fuse_id = geompy.addToStudy(fuse,"Fuse")
gg = salome.ImportComponentGUI("GEOM")
gg.createAndDisplayGO(fuse_id)
gg.setDisplayMode(fuse_id,1)
gg.setVectorsMode(fuse_id, 1)
gg.setVerticesMode(fuse_id, 1)
gg.setVectorsMode(fuse_id, True)
gg.setVerticesMode(fuse_id, True)
gg.setNameMode(fuse_id, 1)

View File

@ -112,8 +112,8 @@ if not isinstance(gg, type(salome_ComponentGUI)):
gg.setDisplayMode(id_torus1,1)
gg.setDisplayMode(id_torus2,1)
gg.setVectorsMode(id_acyl,1,1)
gg.setVerticesMode(id_acyl,1,1)
gg.setVectorsMode(id_acyl,True)
gg.setVerticesMode(id_acyl,True)
#gg.setDisplayMode(id_cage,1)
gg.setColor(id_torus1,0,0,255)