Skip to content

Commit a99255d

Browse files
authored
Update core_display_activate_manipulator.py
1 parent ff8fa18 commit a99255d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/core_display_activate_manipulator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def createLayout(self):
6060
layout_v.addWidget(self.show_layer_button)
6161
layout_h.addLayout(layout_v)
6262

63-
self.canvas = qtDisplay.qtViewer3dManip(self)
63+
self.canvas = qtDisplay.qtViewer3dWithManipulator(self)
6464
layout_h.addWidget(self.canvas)
6565
self.horizontalGroupBox.setLayout(layout_h)
6666

@@ -72,7 +72,6 @@ def createLayout(self):
7272
sphere = BRepPrimAPI_MakeSphere(gp_Pnt(25, 25, 25), 5).Shape()
7373
self.layer.add_shape(sphere)
7474
self.show_layer()
75-
self.layer.merge()
7675

7776
def show_layer(self):
7877
if self.show_layer_button.isChecked():

0 commit comments

Comments
 (0)