Skip to content

Commit daa0d7b

Browse files
committed
Fixed Vertex inheritance issue
1 parent 2e5d070 commit daa0d7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OCCUtils/vertex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
from Common import vertex2pnt
2525

2626

27-
class Vertex(KbeObject, TopoDS_Vertex):
27+
class Vertex(TopoDS_Vertex, KbeObject):
2828
"""
2929
wraps gp_Pnt
3030
"""
3131
_n = 0
3232

3333
def __init__(self, x, y, z):
34+
super(Vertex, self).__init__()
3435
"""Constructor for KbeVertex"""
3536
KbeObject.__init__(self, name='Vertex #{0}'.format(self._n))
3637

0 commit comments

Comments
 (0)