SDK : Fixed an issue where the shader cide template was not generated properly when creating a shader node definition.

This commit is contained in:
Nehon 2015-04-17 20:17:04 +02:00
parent f73c2b379d
commit 001f3f8f0e

View File

@ -102,7 +102,7 @@ public final class SNDefWizardIterator implements WizardDescriptor.Instantiating
//Get the template and convert it:
FileObject tplSnd = Templates.getTemplate(wizard);
FileObject tplShd = tplSnd.getParent().getChildren()[1];
FileObject tplShd = tplSnd.getParent().getChildren()[0];
DataObject templateSnd = DataObject.find(tplSnd);
DataObject templateShd = DataObject.find(tplShd);