Skip to content

Commit

Permalink
Fixed a minor bug when the user sets delta but not sample_size
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur R. Bingol committed Apr 20, 2018
1 parent 22dcb44 commit 3fe852c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geomdl/Abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def render(self, **kwargs):
size=[self._control_points_size_u, self._control_points_size_v],
name="Control Points", color=cpcolor, plot_type='ctrlpts')
self._vis_component.add(ptsarr=self._surface_points,
size=[self._sample_size, self._sample_size],
size=[self.sample_size, self.sample_size],
name="Surface", color=surfcolor, plot_type='evalpts')
self._vis_component.render()

Expand Down

0 comments on commit 3fe852c

Please sign in to comment.