Skip to content

Commit c078876

Browse files
committed
Fixed core_topology_local_ops
1 parent 664700c commit c078876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/core_topology_local_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def thick_solid(event=None):
161161
def offset_cube(event=None):
162162
S2 = BRepPrimAPI_MakeBox(gp_Pnt(300, 0, 0), 220, 140, 180).Shape()
163163
offsetB = BRepOffsetAPI_MakeOffsetShape(S2, -20, 0.01, BRepOffset_Skin, False, False, GeomAbs_Arc)
164-
offB = display.DisplayColoredShape(S2, 'BLUE')
164+
offB = display.DisplayColoredShape(S2, 'BLUE')[0]
165165
display.Context.SetTransparency(offB, 0.3, True)
166166
display.DisplayColoredShape(offsetB.Shape(), 'GREEN')
167167
display.FitAll()

0 commit comments

Comments
 (0)