File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525
2626DEFAULT_FACE_COLOR = Quantity_Color (GOLD )
2727DEFAULT_EDGE_COLOR = Quantity_Color (BLACK )
28- DEFUALT_EDGE_WIDTH = 2
28+ DEFAULT_EDGE_WIDTH = 2
2929
3030class OCCViewer (QWidget ,ComponentMixin ):
3131
@@ -63,10 +63,10 @@ def __init__(self,parent=None):
6363 top_widget = self ,
6464 margin = 0 )
6565
66- self .setup_defualt_drawer ()
66+ self .setup_default_drawer ()
6767 self .updatePreferences ()
6868
69- def setup_defualt_drawer (self ):
69+ def setup_default_drawer (self ):
7070
7171 # set the default color and material
7272 material = Graphic3d_MaterialAspect (Graphic3d_NOM_JADE )
@@ -77,7 +77,7 @@ def setup_defualt_drawer(self):
7777
7878 # face edge lw
7979 line_aspect = self .canvas .context .DefaultDrawer ().FaceBoundaryAspect ()
80- line_aspect .SetWidth (DEFUALT_EDGE_WIDTH )
80+ line_aspect .SetWidth (DEFAULT_EDGE_WIDTH )
8181 line_aspect .SetColor (DEFAULT_EDGE_COLOR )
8282
8383 def updatePreferences (self ,* args ):
You can’t perform that action at this time.
0 commit comments