diff options
author | Eric Guzman | 2012-03-17 00:05:14 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-17 00:05:14 -0700 |
commit | a3192d8bc0f8c0698265817c14dcd2284fd89d7d (patch) | |
tree | 497ac55f550ed52f9d73b464aafb2aa6cb5f5038 /js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | |
parent | a6a6f9bcc5ff92f5bb5e9275336dfaec2d8e8f4c (diff) | |
parent | 954f5a13e371febcb1c0fb8015c577ee51c23130 (diff) | |
download | ninja-a3192d8bc0f8c0698265817c14dcd2284fd89d7d.tar.gz |
Merge branch 'refs/heads/master' into AddAnimationsLibrary
Conflicts:
js/panels/presets/default-transition-presets.js
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/scenegraphNodes.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js b/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js index e80a14fb..93ee12bf 100755 --- a/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js +++ b/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | |||
@@ -336,7 +336,7 @@ materialNodeTemplate = function(matNode) | |||
336 | matNode.setTexture = function(texType, texName) | 336 | matNode.setTexture = function(texType, texName) |
337 | { | 337 | { |
338 | var renderer = g_Engine.getContext().renderer; | 338 | var renderer = g_Engine.getContext().renderer; |
339 | this.textureList[texType].handle = renderer.getTextureByName("assets/images/" + texName); | 339 | this.textureList[texType].handle = renderer.getTextureByName(g_Engine._assetPath+"/images/" + texName); |
340 | this.textureList[texType].unit = texType; | 340 | this.textureList[texType].unit = texType; |
341 | this.textureList[texType].type = UNIFORMTYPE.TEXTURE2D; | 341 | this.textureList[texType].type = UNIFORMTYPE.TEXTURE2D; |
342 | 342 | ||