Closed pavly-gerges closed 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
TextureLayerSettings
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
TextureLayer
Other changes are renaming and code enhancements.
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#L1582)
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#L118Other changes are renaming and code enhancements.