Skip to content

Commit df274b1

Browse files
authored
Fix 3D eye camera reset not resuming tracking scene bounding box (#11037)
1 parent e2d108d commit df274b1

File tree

1 file changed

+1
-3
lines changed
  • crates/viewer/re_view_spatial/src

1 file changed

+1
-3
lines changed

crates/viewer/re_view_spatial/src/ui_3d.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ impl View3DState {
102102
scene_bbox: &SceneBoundingBoxes,
103103
scene_view_coordinates: Option<ViewCoordinates>,
104104
) {
105-
// Mark as interaction since we want to stop doing any automatic interpolations,
106-
// even if this is caused by a full reset.
107-
self.last_eye_interaction = Some(Instant::now());
105+
self.last_eye_interaction = None;
108106
self.interpolate_to_view_eye(default_eye(&scene_bbox.current, scene_view_coordinates));
109107
self.tracked_entity = None;
110108
self.camera_before_tracked_entity = None;

0 commit comments

Comments
 (0)