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 d5d6ce0 commit d666fe5Copy full SHA for d666fe5
examples/3d/3d_scene.rs
@@ -1,6 +1,6 @@
1
use bevy::prelude::*;
2
use bevy_internal::{
3
- render::wireframe::{Wireframe, WireframePlugin},
+ render::wireframe::{Wireframe, WireframeConfig, WireframePlugin},
4
wgpu::{WgpuFeatures, WgpuOptions},
5
};
6
@@ -21,9 +21,11 @@ fn main() {
21
/// set up a simple 3D scene
22
fn setup(
23
commands: &mut Commands,
24
+ mut wireframe_config: ResMut<WireframeConfig>,
25
mut meshes: ResMut<Assets<Mesh>>,
26
mut materials: ResMut<Assets<StandardMaterial>>,
27
) {
28
+ wireframe_config.global = false;
29
// add entities to the world
30
commands
31
// plane
0 commit comments