diff options
author | bubnikv <bubnikv@gmail.com> | 2017-03-20 14:05:20 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-03-20 14:05:20 +0300 |
commit | 045de596e2ff1ad6d7cc44888d8e7bbc25b4c9f8 (patch) | |
tree | 66b96b31e246c1ac2aff42e79eb501224122a5fc /xs/src/perlglue.cpp | |
parent | 56f845f3c104ec51f6a5c6e5fb86d983ca9c9eb4 (diff) |
Use OpenGL 2.0 shaders for the layer height rendering.
Use OpenGL 2.0 shaders for the print path rendering for performance reasons.
Diffstat (limited to 'xs/src/perlglue.cpp')
-rw-r--r-- | xs/src/perlglue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/perlglue.cpp b/xs/src/perlglue.cpp index d8f9db480..d76671833 100644 --- a/xs/src/perlglue.cpp +++ b/xs/src/perlglue.cpp @@ -60,6 +60,7 @@ REGISTER_CLASS(Surface, "Surface"); REGISTER_CLASS(SurfaceCollection, "Surface::Collection"); REGISTER_CLASS(PrintObjectSupportMaterial, "Print::SupportMaterial2"); REGISTER_CLASS(TriangleMesh, "TriangleMesh"); +REGISTER_CLASS(GLShader, "GUI::_3DScene::GLShader"); REGISTER_CLASS(GLVolume, "GUI::_3DScene::GLVolume"); REGISTER_CLASS(GLVolumeCollection, "GUI::_3DScene::GLVolume::Collection"); |