Skip to content

Commit

Permalink
Rename node to nodeId
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Mar 20, 2018
1 parent af119b1 commit 697c6d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ThirdParty/GltfPipeline/addDefaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ define([
ForEach.animation(gltf, function(animation) {
ForEach.animationChannel(animation, function(channel) {
var target = channel.target;
var node = target.node;
var nodeId = target.node;
var path = target.path;
// Ignore animations that target 'weights'
if (path === 'translation' || path === 'rotation' || path === 'scale') {
nodes[node] = true;
nodes[nodeId] = true;
}
});
});
Expand Down

0 comments on commit 697c6d9

Please sign in to comment.