Add loading scene if not loaded on tracy
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 11m9s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 11m9s
This commit is contained in:
parent
d765e78da4
commit
e5d8dd58f2
1 changed files with 7 additions and 3 deletions
|
@ -177,9 +177,13 @@ impl ApplicationHandler<UserEvent> for App {
|
|||
let _scene_span = tracing::info_span!("scene_processing").entered();
|
||||
let mut context = app_context.write().unwrap();
|
||||
|
||||
scene_manager
|
||||
.load_scene_if_not_loaded(&mut context)
|
||||
.unwrap();
|
||||
{
|
||||
let _scene_span =
|
||||
tracing::info_span!("scene_loading_if_not_loaded").entered();
|
||||
scene_manager
|
||||
.load_scene_if_not_loaded(&mut context)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
if let Some(scene) = scene_manager.current_scene_mut() {
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue