Opacity bug fixed & removescenegraphnode functionality added

This commit is contained in:
aniisaaden
2020-09-16 11:13:04 +02:00
parent 4b8f1027fd
commit 0407e8df7d
2 changed files with 10 additions and 0 deletions

View File

@@ -36,6 +36,7 @@
#include <ghoul/filesystem/cachemanager.h>
#include <ghoul/filesystem/filesystem.h>
#include <ghoul/logging/logmanager.h>
#include <ghoul/opengl/openglstatecache.h>
#include <ghoul/opengl/programobject.h>
#include <fstream>
@@ -223,6 +224,9 @@ namespace openspace {
glBindVertexArray(0);
_shaderProgram->deactivate();
// Restores GL State
global::renderEngine.openglStateCache().resetBlendState();
}
}