Fix camera drawing

This commit is contained in:
rewin
2024-01-16 23:20:03 +03:00
parent 657629f62a
commit 8320297874
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ web-sys = { version = "0.3.65", optional = true, features = [
"HtmlElement",
"Window",
] }
space_editor = {git = "https://github.com/rewin123/space_editor", rev = "b56d81222cbf59448ecda5064bf1b37ca90b84f1"}
space_editor = {git = "https://github.com/rewin123/space_editor", rev = "a6804e63428e29d858d8b5c0eabeb4fe7b2aa7f4"}
[features]
wasm = [
+2
View File
@@ -3,6 +3,7 @@ use bevy::{
prelude::*,
render::view::RenderLayers,
};
use space_editor::space_editor_ui::NotShowCamera;
use crate::MainCamera;
@@ -35,6 +36,7 @@ pub(super) fn spawn_gizmo_camera(
},
RenderLayers::layer(GIZMO_RENDER_LAYER),
Fxaa::default(),
NotShowCamera
));
});
}