fixed bug in terrain editor, submitting new texture before scale causing error in shader

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8923 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 09458328c7
commit 62a3bc2705
  1. 2
      sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorTopComponent.java

@ -1376,8 +1376,8 @@ public final class TerrainEditorTopComponent extends TopComponent implements Sce
addRow(new Object[]{"", newIndex, null, scale}); // add to the table model
// and add it to the actual material
setTexture(newIndex, (String) null);
setTextureScale(newIndex, scale);
setTexture(newIndex, (String) null);
editorController.enableTextureButtons();
}

Loading…
Cancel
Save