Skip to content
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

Issue with Custom Controls and AppStates in Jme Gradle Projects and SceneEditor #640

Open
capdevon opened this issue Dec 19, 2024 · 2 comments
Assignees

Comments

@capdevon
Copy link
Contributor

Hi guys, I am converting some pipelines from Ant projects to Gradle projects. Unfortunately, in Jme Gradle projects it is not possible to add Custom Controls or Custom AppStates in the SceneEditor when viewing 3D models. These two features would be really useful. Could you kindly take a look at the problem?

https://hub.jmonkeyengine.org/t/help-needed-with-j3o-sdk-functions/48036/9

@tonihele
Copy link
Contributor

Looks like jme3-core\src\com\jme3\gde\core\appstates\NewAppStateVisualPanel1.java#getSources is a bit more complicated with Gradle projects. With the SDKs default Gradle project structure as well the models are in a different module than the actual source files it is trying to find. We need to actually traverse the modules...

@tonihele tonihele self-assigned this Dec 21, 2024
@tonihele
Copy link
Contributor

Phew, never used or saw these features before. You should be SDK developer instead. I think I got it, but could you verify? By checking out https://github.com/tonihele/sdk/tree/bugfix/issue-640. Running instructions: https://github.com/jMonkeyEngine/sdk?tab=readme-ov-file#building-the-sdk. But essentially as you would do for any Gradle app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants