jMonkeyEngine / sdk

The jMonkeyEngine3 Software Development Kit based on Netbeans
BSD 3-Clause "New" or "Revised" License
315 stars 102 forks source link

MaterialEditor: unable to edit the name of the Material #598

Closed capdevon closed 7 months ago

capdevon commented 7 months ago

If I change the name of the material in the text input component, the Source Tab is not updated with the new name and saving the file, the change is not permanent and always reports My Material

image

image

tonihele commented 7 months ago

Probably https://github.com/jMonkeyEngine/sdk/blob/master/jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java#L466, instead of constant it should just use the name variable.

capdevon commented 7 months ago

thank you guys for the support