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 7647309 commit e6ca9f6Copy full SHA for e6ca9f6
crates/viewer/re_viewer_context/src/time_control.rs
@@ -364,10 +364,11 @@ impl TimeControl {
364
}
365
366
fn update_time(&mut self, blueprint_ctx: Option<&impl BlueprintContext>, time: TimeReal) {
367
- if self.time_int() != Some(time.floor())
+ let time_int = time.floor();
368
+ if self.time_int() != Some(time_int)
369
&& let Some(blueprint_ctx) = blueprint_ctx
370
{
- blueprint_ctx.set_time(time.floor());
371
+ blueprint_ctx.set_time(time_int);
372
373
374
self.set_time(time);
0 commit comments