Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #103 from OpenGeoscience/version-0.3.10
Browse files Browse the repository at this point in the history
Version 0.3.10.
  • Loading branch information
manthey authored Sep 2, 2016
2 parents e2905b4 + de7fe8a commit 69a193e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vgl",
"description": "VTK for the Web.",
"version": "0.3.9",
"version": "0.3.10",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
10 changes: 6 additions & 4 deletions vgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if (!Math.log2) {
};
}

vgl.version = '0.3.9';
vgl.version = '0.3.10';

//////////////////////////////////////////////////////////////////////////////
/**
Expand Down Expand Up @@ -3803,10 +3803,12 @@ vgl.mapper = function (arg) {
}

noOfPrimitives = m_geomData.numberOfPrimitives();
for (j = 0; j < noOfPrimitives; j += 1) {
m_context.bindBuffer(vgl.GL.ARRAY_BUFFER, m_buffers[bufferIndex]);
bufferIndex += 1;
for (j = 0; j < noOfPrimitives; j += 1, bufferIndex += 1) {
primitive = m_geomData.primitive(j);
if (!primitive.numberOfIndices()) {
continue;
}
m_context.bindBuffer(vgl.GL.ARRAY_BUFFER, m_buffers[bufferIndex]);
switch (primitive.primitiveType()) {
case vgl.GL.POINTS:
m_context.drawArrays(vgl.GL.POINTS, 0, primitive.numberOfIndices());
Expand Down
Loading

0 comments on commit 69a193e

Please sign in to comment.