-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lints #61
Lints #61
Conversation
@rewin123 if you want to check the CI please refer to the PR on my repo |
Thanks for the huge pull request! I've reviewed and tested the changes. And it works correct. Unsafe megablock has been destroyed, thanks ^^. The button names are really better now. I also noticed that reasonable refactoring was done in many parts of the code. I just have a few questions. When building on rust 1.72 I get a warning: "warning: unused manifest key LTO seems to have to be placed in the head crate of the game, as it enables optimization on all underlying crates. Maybe it should be removed from space_editor, since ideologically the editor should be attached as a subproject to the game. (Also lto destroys compile time). Support for reaper would be great! As well as adding components by right-click (I wanted to do it originally, but I don't see how to implement it in egui). For third-party dependencies defined via feature I've allocated an "optional" folder, and also allocated a bevy plugin "OptinalPugin" for centralized connection of "optional" third-party modules to the editor. So in "my ideal world", reaper support should be in the "optional/reaper_plugin" folder. |
Happy to help, I was doing my own editor when I found yours and the way you solved prefabs was way cleverer haha.
It is supported in 1.74, which should have a fix for the MIR error soon, then I can update the toolchain.
Will do in a next PR, our editors have a very different organization, so I get a bit lost on migrating stuff. Also, I reimplemented most of the bevy libraries because I didn't want to have dependencies on them upgrading to newer bevy versions, so some of it doesnt really sync with the original work.
That makes sense. In my ideal "rusty" world, we can export most of your plugin into a
modules/ <- the community modules to be featured in the editor (it could be inside crates, but I think it could cause confusion to live with crates.
lto was me trying to fix an internal issue, we can probably configure profiles to deal with those preferences. it has some advantages in dev mode |
@rewin123 what is your OS? Found some issues with windows |
Hmm. Ok, I don't see the problem anymore, then I'll merge the pull request. I like the proposed file structure, except that shared is a unnecessary folder. I will start to move folder struct too. My operating system is windows, but i did not found bugs. |
Lets move the discussion on the file structure to an issue? |
Yep. I will open |
Things I plan to do (unordered):