jbrd / bevy_mod_imgui Goto Github PK
View Code? Open in Web Editor NEWA Dear ImGui integration for the Bevy game engine.
License: Apache License 2.0
A Dear ImGui integration for the Bevy game engine.
License: Apache License 2.0
New version of Bevy is here
Describe the solution you'd like
Provide support for the docking build of ImGui. This should be enabled / disabled with a feature flag in the same way as in the imgui
crate
Support the multiple viewports feature in the docking branch of imgui.
warning: usage of an `Arc` that is not `Send` or `Sync`
--> src/lib.rs:285:27
|
285 | let arc = Arc::new(Mutex::new(ctx));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `Mutex<Context>`
= note: the trait `Sync` is not implemented for `Mutex<Context>`
= note: required for `Arc<Mutex<Context>>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
warning: `bevy_mod_imgui` (lib test) generated 1 warning (1 duplicate)
warning: `bevy_mod_imgui` (lib) generated 1 warning
The next step for this library is to make it more generally available for people to try. In order to do this, the crate needs to be published properly.
Currently, the bevy_imgui
crate name is reserved (see https://github.com/bevyengine/bevy-crate-reservations). Enquire about assuming ownership of this crate name...
Describe the bug
When closing the window / game, it will give you a panic message.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
it should gracefully shut down.
Platform (please complete the following information):
Additional context
thread '<unnamed>' panicked at /home/nautilus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_mod_imgui-0.1.0/src/lib.rs:545:54:
no entry found for key
stack backtrace:
0: rust_begin_unwind
at /rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs:645:5
Make it possible to render to multiple windows, and/or select which window to draw imgui to
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.