|
@@ -211,7 +211,7 @@
|
|
var children = nodes.searchConnectionChildren( matNode.id );
|
|
var children = nodes.searchConnectionChildren( matNode.id );
|
|
for ( var i = 0; i < children.length; ++ i ) {
|
|
for ( var i = 0; i < children.length; ++ i ) {
|
|
|
|
|
|
- var type = nodes.searchConnectionType( matNode.id, children[ i ] );
|
|
|
|
|
|
+ var type = nodes.searchConnectionType( children[ i ], matNode.id );
|
|
switch ( type ) {
|
|
switch ( type ) {
|
|
|
|
|
|
case " \"AmbientColor":
|
|
case " \"AmbientColor":
|