Electrostat-Lab / jMonkeyBuilder

Alex's Jme3 Scene editor Maintained Version
https://hub.jmonkeyengine.org/t/editor-jmonkeybuilder/35179/1232
Apache License 2.0
6 stars 3 forks source link

Fixed issue #1 and code enhancements #6

Closed pavly-gerges closed 2 years ago

pavly-gerges commented 2 years ago

The fix files are : 1) TextureLayerSettings : delete other matparams with the diffuse texture and exclude layer_0 : https://github.com/Scrappers-glitch/SS-Editor/blob/f1c8f0865d320fff04fcfc237c98f1b4e0b17a4c/src/com/ss/editor/ui/component/editing/terrain/paint/TextureLayerSettings.java#L158

2) TextureLayer : load a default texture if diffuse texture is null : https://github.com/Scrappers-glitch/SS-Editor/blob/f1c8f0865d320fff04fcfc237c98f1b4e0b17a4c/src/com/ss/editor/ui/component/editing/terrain/paint/TextureLayer.java#L118

Other changes are renaming and code enhancements.