aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/line.js
diff options
context:
space:
mode:
authorhwc4872012-04-04 16:32:53 -0700
committerhwc4872012-04-04 16:32:53 -0700
commit6ee8b65742fbe61b4429dc8c7dc9ca33a3e43600 (patch)
treef267e05f623ed90d1cc841b8c79a338d6d8e807c /js/lib/geom/line.js
parent16f62ca09cc428043e8fef8bdeea11a989e62bc0 (diff)
parent17ca01f54591187f5c0812c0fd2cb7260afa9639 (diff)
downloadninja-6ee8b65742fbe61b4429dc8c7dc9ca33a3e43600.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Snapping
Conflicts: js/panels/presets/animations-presets.reel/animations-presets.js js/panels/presets/style-presets.reel/style-presets.js js/panels/presets/transitions-presets.reel/transitions-presets.js
Diffstat (limited to 'js/lib/geom/line.js')
-rwxr-xr-xjs/lib/geom/line.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/geom/line.js b/js/lib/geom/line.js
index 1848218d..1b2dd4fc 100755
--- a/js/lib/geom/line.js
+++ b/js/lib/geom/line.js
@@ -150,7 +150,7 @@ var Line = function GLLine( world, xOffset, yOffset, width, height, slope, strok
150 if (!world._useWebGL) return; 150 if (!world._useWebGL) return;
151 151
152 // make sure RDGE has the correct context 152 // make sure RDGE has the correct context
153 g_Engine.setContext( world.getCanvas().rdgeid ); 153 RDGE.globals.engine.setContext( world.getCanvas().rdgeid );
154 154
155 // create the gl buffer 155 // create the gl buffer
156 var gl = world.getGLContext(); 156 var gl = world.getGLContext();
@@ -311,7 +311,7 @@ var Line = function GLLine( world, xOffset, yOffset, width, height, slope, strok
311 indices.push( index ); index++; 311 indices.push( index ); index++;
312 } 312 }
313 313
314 var prim = ShapePrimitive.create(strokeVertices, strokeNormals, strokeTextures, indices, g_Engine.getContext().renderer.TRIANGLES, indices.length); 314 var prim = ShapePrimitive.create(strokeVertices, strokeNormals, strokeTextures, indices, RDGE.globals.engine.getContext().renderer.TRIANGLES, indices.length);
315 315
316 var strokeMaterial = this.makeStrokeMaterial(); 316 var strokeMaterial = this.makeStrokeMaterial();
317 317