Skip to content

Fix for issue 1976 - remove webgl warnings for empty lines when using gl-line3d #3174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 29, 2018

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 29, 2018

This PR resolves #1976 and cases where the line trace has segments less than one. This help avoid
throwing WebGL rendering warnings. Similar to PR #3171 (related to empty texts on gl-scatter3d) the conditions for checking array inputs are improved within the gl-line3d module.
@etpinard
@alexcjohnson

package.json Outdated
@@ -74,7 +74,7 @@
"gl-contour2d": "^1.1.4",
"gl-error3d": "^1.0.8",
"gl-heatmap2d": "^1.0.4",
"gl-line3d": "^1.1.4",
"gl-line3d": "git://github.com/gl-vis/gl-line3d.git#860955328a385e0bdbd6d8b1d72b0a0ca433e6c7",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@archmoj archmoj added bug something broken status: reviewable labels Oct 29, 2018
@etpinard
Copy link
Contributor

Thanks @archmoj !

Could you add a jasmine test similar to #3171 to 🔒 this down?

@etpinard
Copy link
Contributor

Test added in afac92b Merging.

@etpinard etpinard merged commit e03d686 into master Oct 29, 2018
@etpinard etpinard deleted the issue-1976 branch October 29, 2018 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gl3d_multi_scene mock is throwing WebGL rendering warnings
2 participants