Skip to content

Commit

Permalink
Fix intermediate stroke width var name
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Jul 26, 2023
1 parent 2518d11 commit 788c961
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rerun_py/rerun_sdk/rerun/log/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ def log_line_strips_2d(
recording = RecordingStream.to_native(recording)

colors = _normalize_colors(colors)
radii = _normalize_radii(stroke_widths)
radii = radii / 2.0
stroke_widths = _normalize_radii(stroke_widths)
radii = stroke_widths / 2.0

identifiers_np = np.array((), dtype="uint64")
if identifiers is not None:
Expand Down Expand Up @@ -298,8 +298,8 @@ def log_line_strips_3d(
recording = RecordingStream.to_native(recording)

colors = _normalize_colors(colors)
radii = _normalize_radii(stroke_widths)
radii = radii / 2.0
stroke_widths = _normalize_radii(stroke_widths)
radii = stroke_widths / 2.0

identifiers_np = np.array((), dtype="uint64")
if identifiers is not None:
Expand Down

0 comments on commit 788c961

Please sign in to comment.