Fixed a documentation issue in the shader node definition wizard

This commit is contained in:
Nehon 2015-02-11 23:08:41 +01:00
parent 76fe370cf1
commit 2670026552
2 changed files with 12 additions and 7 deletions

View File

@ -1,9 +1,11 @@
<#list inputParams as param>
//@input ${param[0]} ${param[1]} ${param[2]}
</#list>
<#list outputParams as param>
//@output ${param[0]} ${param[1]} ${param[2]}
</#list>
void main(){ void main(){
<#list inputParams as param>
//@input ${param[0]} ${param[1]} ${param[2]}
</#list>
<#list outputParams as param>
//@output ${param[0]} ${param[1]} ${param[2]}
</#list>
//insert glsl code here //insert glsl code here
} }

View File

@ -34,7 +34,10 @@ public final class SNDefVisualPanel2 extends JPanel {
} }
public String[][] getData() { public String[][] getData() {
varTable.editCellAt(-1, -1);
varTable.getSelectionModel().clearSelection();
DefaultTableModel model = (DefaultTableModel) varTable.getModel(); DefaultTableModel model = (DefaultTableModel) varTable.getModel();
String[][] data = new String[model.getRowCount()][3]; String[][] data = new String[model.getRowCount()][3];
for (int i = 0; i < model.getRowCount(); i++) { for (int i = 0; i < model.getRowCount(); i++) {