Skip to content

Commit

Permalink
Fix a bug in generating surface objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Rauf Bingol committed Mar 25, 2019
1 parent 29e51c1 commit 8a3c3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geomdl/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def extract_surfaces(pvol):
# v-w plane
surflist_vw = []
for u in range(size_u):
surf = obj()
surf = obj.__class__()
surf.degree_u = degree_v
surf.degree_v = degree_w
surf.ctrlpts_size_u = size_v
Expand Down

0 comments on commit 8a3c3be

Please sign in to comment.