Skip to content

Commit

Permalink
updating example to work with latest Open3D (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyuanbing committed Mar 9, 2021
1 parent ff5c336 commit 5949089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/teaser_python_3dsmooth/line_mesh.py
Expand Up @@ -73,7 +73,7 @@ def create_line_mesh(self):
axis_a = axis * angle
R = o3d.geometry.get_rotation_matrix_from_axis_angle(axis_a)
cylinder_segment = cylinder_segment.rotate(
R, center=True)
R, center=np.zeros([3, 1], dtype=np.float64))
# color cylinder
color = self.colors if self.colors.ndim == 1 else self.colors[i, :]
cylinder_segment.paint_uniform_color(color)
Expand Down

0 comments on commit 5949089

Please sign in to comment.