diff --git a/modules/softwareintegration/rendering/renderablepointscloud.cpp b/modules/softwareintegration/rendering/renderablepointscloud.cpp index f01c2f88ec..9c776cbad1 100644 --- a/modules/softwareintegration/rendering/renderablepointscloud.cpp +++ b/modules/softwareintegration/rendering/renderablepointscloud.cpp @@ -251,6 +251,7 @@ namespace openspace { // Changes GL state: glEnablei(GL_BLEND, 0); + glDepthMask(false); glBlendEquation(GL_FUNC_ADD); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_PROGRAM_POINT_SIZE); // Enable gl_PointSize in vertex @@ -264,6 +265,7 @@ namespace openspace { // Restores GL State global::renderEngine.openglStateCache().resetBlendState(); + global::renderEngine.openglStateCache().resetDepthState(); } } diff --git a/modules/softwareintegration/softwareintegrationmodule.cpp b/modules/softwareintegration/softwareintegrationmodule.cpp index b4187913f0..01c028b167 100644 --- a/modules/softwareintegration/softwareintegrationmodule.cpp +++ b/modules/softwareintegration/softwareintegrationmodule.cpp @@ -337,6 +337,7 @@ namespace openspace { } case SoftwareConnection::MessageType::RemoveSceneGraphNode: { std::string identifier(message.begin(), message.end()); + LDEBUG(fmt::format("Message recieved.. Delete SGN: {}", identifier)); SceneGraphNode* sgn = global::renderEngine.scene()->sceneGraphNode(identifier); @@ -351,7 +352,7 @@ namespace openspace { "openspace.removeSceneGraphNode('" + identifier + "');", scripting::ScriptEngine::RemoteScripting::Yes ); - LINFO(fmt::format("Scengraph {} removed.", identifier)); + LDEBUG(fmt::format("Scengraph {} removed.", identifier)); break; } case SoftwareConnection::MessageType::Color: {