浏览代码

Update jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java

Co-authored-by: Copilot <[email protected]>
Rickard Edén 2 月之前
父节点
当前提交
374225842e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java

+ 1 - 1
jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java

@@ -289,7 +289,7 @@ public class TexturePanel extends MaterialPropertyWidget implements TextureDropT
             updateFlipRepeat();
             fireChanged();
         } else if (newAssetKey == null) {
-            // "No Texture" was selected when no texture was already set
+            // "No Texture" was selected, regardless of whether a texture was previously set
             property.setValue(EMPTY);
             textureName = "\"\"";
             texturePreview.setIcon(null);