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
This commit is contained in:
bre..ns 2011-12-14 00:30:34 +00:00
parent 09458328c7
commit 62a3bc2705

@ -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();
}