Update Bevy master commit hash.
This commit is contained in:
parent
9622c85367
commit
76c802bf3e
|
@ -11,7 +11,7 @@ keywords = ["gamedev", "bevy", "outline"]
|
||||||
categories = ["game-engines", "rendering"]
|
categories = ["game-engines", "rendering"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "4ebc560dfb0fee5d3728d1d8f7362f484b784e4c", default-features = false, features = [
|
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "f83de49b7a9e2c6c3ac4e94b44bcc02806aa8e90", default-features = false, features = [
|
||||||
"bevy_asset",
|
"bevy_asset",
|
||||||
"bevy_render",
|
"bevy_render",
|
||||||
"bevy_pbr",
|
"bevy_pbr",
|
||||||
|
@ -27,7 +27,7 @@ thiserror = "1.0"
|
||||||
wgpu-types = "0.19"
|
wgpu-types = "0.19"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "4ebc560dfb0fee5d3728d1d8f7362f484b784e4c", default-features = false, features = [
|
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "f83de49b7a9e2c6c3ac4e94b44bcc02806aa8e90", default-features = false, features = [
|
||||||
"animation",
|
"animation",
|
||||||
"bevy_gltf",
|
"bevy_gltf",
|
||||||
"bevy_pbr",
|
"bevy_pbr",
|
||||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -23,7 +23,7 @@
|
||||||
//! [`AutoGenerateOutlineNormalsPlugin`].
|
//! [`AutoGenerateOutlineNormalsPlugin`].
|
||||||
|
|
||||||
use bevy::asset::load_internal_asset;
|
use bevy::asset::load_internal_asset;
|
||||||
use bevy::core_pipeline::core_3d::graph::{Labels3d, SubGraph3d};
|
use bevy::core_pipeline::core_3d::graph::{Node3d, Core3d};
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
use bevy::render::batching::{batch_and_prepare_render_phase, write_batched_instance_buffer};
|
use bevy::render::batching::{batch_and_prepare_render_phase, write_batched_instance_buffer};
|
||||||
use bevy::render::extract_component::{
|
use bevy::render::extract_component::{
|
||||||
|
@ -36,7 +36,7 @@ use bevy::render::render_resource::{SpecializedMeshPipelines, VertexFormat};
|
||||||
use bevy::render::view::{RenderLayers, VisibilitySystems};
|
use bevy::render::view::{RenderLayers, VisibilitySystems};
|
||||||
use bevy::render::{Render, RenderApp, RenderSet};
|
use bevy::render::{Render, RenderApp, RenderSet};
|
||||||
use bevy::transform::TransformSystem;
|
use bevy::transform::TransformSystem;
|
||||||
use bevy::ui::graph::LabelsUi;
|
use bevy::ui::graph::NodeUi;
|
||||||
use interpolation::Lerp;
|
use interpolation::Lerp;
|
||||||
|
|
||||||
use crate::draw::{
|
use crate::draw::{
|
||||||
|
@ -324,13 +324,13 @@ impl Plugin for OutlinePlugin {
|
||||||
|
|
||||||
let mut graph = world.resource_mut::<RenderGraph>();
|
let mut graph = world.resource_mut::<RenderGraph>();
|
||||||
|
|
||||||
let draw_3d_graph = graph.get_sub_graph_mut(SubGraph3d).unwrap();
|
let draw_3d_graph = graph.get_sub_graph_mut(Core3d).unwrap();
|
||||||
draw_3d_graph.add_node(LabelsOutline::OutlinePass, node);
|
draw_3d_graph.add_node(LabelsOutline::OutlinePass, node);
|
||||||
|
|
||||||
// Run after main 3D pass, but before UI psss
|
// Run after main 3D pass, but before UI psss
|
||||||
draw_3d_graph.add_node_edge(Labels3d::EndMainPass, LabelsOutline::OutlinePass);
|
draw_3d_graph.add_node_edge(Node3d::EndMainPass, LabelsOutline::OutlinePass);
|
||||||
#[cfg(feature = "bevy_ui")]
|
#[cfg(feature = "bevy_ui")]
|
||||||
draw_3d_graph.add_node_edge(LabelsOutline::OutlinePass, LabelsUi::UiPass);
|
draw_3d_graph.add_node_edge(LabelsOutline::OutlinePass, NodeUi::UiPass);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn finish(&self, app: &mut App) {
|
fn finish(&self, app: &mut App) {
|
||||||
|
|
Loading…
Reference in New Issue