Last change
on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago |
CHG: done with Archive/19101-20495
|
File size:
471 bytes
|
Rev | Line | |
---|
[20498] | 1 | Index: ../trunk-jpl/src/m/plot/webgl.js
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/plot/webgl.js (revision 19733)
|
---|
| 4 | +++ ../trunk-jpl/src/m/plot/webgl.js (revision 19734)
|
---|
| 5 | @@ -36,7 +36,7 @@
|
---|
| 6 | gl.enableVertexAttribArray(1);
|
---|
| 7 |
|
---|
| 8 | // Add context state variables
|
---|
| 9 | - canvas.zoomFactor = -1.0;
|
---|
| 10 | + canvas.zoomFactor = options.getfieldvalue('zoomfactor',-.52);
|
---|
| 11 | canvas.cameraMatrix = mat4.create();
|
---|
| 12 |
|
---|
| 13 | // Add event listeners for canvas
|
---|
Note:
See
TracBrowser
for help on using the repository browser.