We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcbf13 commit 7ef9a1dCopy full SHA for 7ef9a1d
1 file changed
jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java
@@ -288,14 +288,7 @@ private void texturePreviewMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FI
288
displayPreview();
289
updateFlipRepeat();
290
fireChanged();
291
- } else if (newAssetKey == null && originalAssetKey != null) {
292
- // "No Texture" was explicitly selected (from having a texture to null)
293
- property.setValue(EMPTY);
294
- textureName = "\"\"";
295
- texturePreview.setIcon(null);
296
- texturePreview.setToolTipText("");
297
- fireChanged();
298
- } else if (newAssetKey == null && originalAssetKey == null) {
+ } else if (newAssetKey == null) {
299
// "No Texture" was selected when no texture was already set
300
property.setValue(EMPTY);
301
textureName = "\"\"";
0 commit comments