We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caaf0f6 commit a480e7bCopy full SHA for a480e7b
nucleus/annotation.py
@@ -287,7 +287,7 @@ def from_json(cls, payload: dict):
287
label=payload.get(LABEL_KEY, 0),
288
position=Point3D.from_json(geometry.get(POSITION_KEY, {})),
289
dimensions=Point3D.from_json(geometry.get(DIMENSIONS_KEY, {})),
290
- yaw=payload.get(YAW_KEY, 0),
+ yaw=geometry.get(YAW_KEY, 0),
291
reference_id=payload.get(REFERENCE_ID_KEY, None),
292
item_id=payload.get(DATASET_ITEM_ID_KEY, None),
293
annotation_id=payload.get(ANNOTATION_ID_KEY, None),
0 commit comments