Salome HOME
Merge remote-tracking branch 'origin/ngo/macros'
[modules/shaper.git] / src / PythonAddons / macros / compoundVertices / feature.py
index ba0a1492176ff7d08bf747d98e75c2736e77239a..e7ba419b112c7c07bda26f520e5261206f00a4ae 100644 (file)
@@ -81,8 +81,8 @@ class compoundVertices(model.Feature):
                         return
                     x = float(coord[0]); y = float(coord[1]); z = float(coord[2]);
                     point = model.addPoint(part, x,y,z); point.execute(True); self.lfeatures.append(point)
-                    vertex = model.addVertex(part, [point.result()]); vertex.execute(True); self.lfeatures.append(vertex)
-                    lVertices.append(vertex.result())
+                    #vertex = model.addVertex(part, [point.result()]); vertex.execute(True); self.lfeatures.append(vertex)
+                    lVertices.append(point.result())
                 file.close()
                 compound = model.addCompound(part, lVertices)
                 compound.execute(True); self.lfeatures.append(compound)