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

Adding a Material Parameter to a MatDef and not giving it a name yields exception #399

Closed
neph1 opened this issue Oct 17, 2022 · 0 comments · Fixed by #401
Closed

Adding a Material Parameter to a MatDef and not giving it a name yields exception #399

neph1 opened this issue Oct 17, 2022 · 0 comments · Fixed by #401

Comments

@neph1
Copy link
Contributor

neph1 commented Oct 17, 2022

SEVERE [com.jme3.gde.materialdefinition.EditableMatDefFile]: Parameter statement syntax incorrect

Moreover;

  • You can't then give it a name in the editor
  • If you add a name in the 'Text' tab, it won't be reflected in the editor, and the exception will keep coming for each new node you add.

Suggestion: Not allow clicking "OK" in the creation window without defining a name.

@neph1 neph1 self-assigned this Oct 18, 2022
neph1 added a commit to neph1/sdk that referenced this issue Oct 18, 2022
neph1 added a commit that referenced this issue Oct 22, 2022
…_a_MatDef_and_not_giving_it_a_name_yields_exception

#399 Enforcing name to be at least one character
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant