File tree Expand file tree Collapse file tree
crates/bevy_animation_graph_editor/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,14 +44,25 @@ impl Plugin for AnimationGraphEditorPlugin {
4444
4545 app //
4646 . add_plugins (
47- DefaultPlugins . set ( AssetPlugin {
48- file_path : std:: fs:: canonicalize ( & cli. asset_source )
49- . unwrap ( )
50- . to_string_lossy ( )
51- . into ( ) ,
52- watch_for_changes_override : Some ( true ) ,
53- ..Default :: default ( )
54- } ) ,
47+ DefaultPlugins
48+ . set ( AssetPlugin {
49+ file_path : std:: fs:: canonicalize ( & cli. asset_source )
50+ . unwrap ( )
51+ . to_string_lossy ( )
52+ . into ( ) ,
53+ watch_for_changes_override : Some ( true ) ,
54+ ..Default :: default ( )
55+ } )
56+ . set ( WindowPlugin {
57+ primary_window : Some ( Window {
58+ title : format ! (
59+ "Bevy Animation Graph Editor {}" ,
60+ env!( "CARGO_PKG_VERSION" )
61+ ) ,
62+ ..Default :: default ( )
63+ } ) ,
64+ ..Default :: default ( )
65+ } ) ,
5566 )
5667 . add_plugins ( EguiPlugin :: default ( ) )
5768 . add_plugins ( AnimationGraphPlugin :: from_physics_schedule ( FixedPostUpdate ) )
You can’t perform that action at this time.
0 commit comments