Explorar o código

* Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead

shadowislord %!s(int64=11) %!d(string=hai) anos
pai
achega
1b5390b2e9

+ 0 - 2
jme3-terrain-editor/src/com/jme3/gde/terraineditor/RenameTerrainAction.java

@@ -193,8 +193,6 @@ public class RenameTerrainAction extends AbstractToolWizardAction {
     private TextureKey cloneKeyParams(TextureKey tkOrig, String path) {
         TextureKey tk = new TextureKey(path, false);
         tk.setAnisotropy(tkOrig.getAnisotropy());
-        tk.setAsCube(tkOrig.isAsCube());
-        tk.setAsTexture3D(tkOrig.isAsTexture3D());
         tk.setGenerateMips(tkOrig.isGenerateMips());
         tk.setTextureTypeHint(tkOrig.getTextureTypeHint());
         return tk;