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:
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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user