Skip to content

Commit 6b799ca

Browse files
committed
Fix hollow example.
1 parent 63e6842 commit 6b799ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/hollow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::f32::consts::{PI, TAU};
22

33
use bevy::{gltf::GltfPlugin, prelude::*, scene::SceneInstance};
44
use bevy_mod_outline::{
5-
AsyncSceneInheritOutline, OutlinePlugin, OutlineStencil, OutlineVolume,
5+
AsyncSceneInheritOutline, OutlinePlugin, OutlineStencil, OutlineStencilEnabled, OutlineVolume,
66
ATTRIBUTE_OUTLINE_NORMAL,
77
};
88

@@ -57,7 +57,7 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
5757
colour: Color::srgb(0.0, 0.0, 1.0),
5858
},
5959
OutlineStencil {
60-
enabled: true,
60+
enabled: OutlineStencilEnabled::Always,
6161
offset: 0.0,
6262
},
6363
AsyncSceneInheritOutline::default(),

0 commit comments

Comments
 (0)