Closed ybyygu closed 1 year ago
Hi! Thanks for the kind words, and thanks for the bug report. I've got a fix for this incoming.
This should be fixed in v0.4.2
I appreciate your quick solution to the problem. It works as expected. However, there is a catch: the order of plugins matters. It doesn't work if PanOrbitCameraPlugin comes before WorldInspectorPlugin.
App::new()
.add_plugins(default_plugin)
// FIXME: the plugin order matters
.add_plugin(PanOrbitCameraPlugin)
.add_plugin(WorldInspectorPlugin::default())
.add_startup_system(setup)
.run();
Check my codes to reproduce: https://github.com/Plonq/bevy_panorbit_camera/compare/master...ybyygu:bevy_panorbit_camera-egui-bug:master
Released a fix for the plugin ordering issue. Hopefully there are no more issues now, but if there are let me know! Thanks for reporting!
Thank you for your great work and continuous improvement! I find bevy_egui to be a great feature that I really needed. However, I noticed that it doesn’t work as expected when I set the exit_condition in DefaultPlugins.
Relevant code snippets:
To reproduce this bug