From 8320297874b7254573025b5589d8c34aae6f51c3 Mon Sep 17 00:00:00 2001 From: rewin Date: Tue, 16 Jan 2024 23:20:03 +0300 Subject: [PATCH] Fix camera drawing --- studio/Cargo.toml | 2 +- studio/src/interaction/gizmos/camera.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/studio/Cargo.toml b/studio/Cargo.toml index cbf98c3..3044bb6 100644 --- a/studio/Cargo.toml +++ b/studio/Cargo.toml @@ -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 = [ diff --git a/studio/src/interaction/gizmos/camera.rs b/studio/src/interaction/gizmos/camera.rs index ea45aad..f4bc999 100644 --- a/studio/src/interaction/gizmos/camera.rs +++ b/studio/src/interaction/gizmos/camera.rs @@ -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 )); }); }