From de214db8d46c97349fa81d01bd3489ac04d5ae51 Mon Sep 17 00:00:00 2001 From: Kyle Cooley Date: Thu, 9 Nov 2017 13:45:32 -0500 Subject: [PATCH] Use configured transparency. --- apps/opencs/view/render/object.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/opencs/view/render/object.cpp b/apps/opencs/view/render/object.cpp index 0ed7830f3..a3ecbadeb 100644 --- a/apps/opencs/view/render/object.cpp +++ b/apps/opencs/view/render/object.cpp @@ -22,6 +22,7 @@ #include "../../model/world/universalid.hpp" #include "../../model/world/commandmacro.hpp" #include "../../model/world/cellcoordinates.hpp" +#include "../../model/prefs/state.hpp" #include #include @@ -473,6 +474,7 @@ void CSVRender::Object::setSelected(bool selected) else mRootNode->addChild(mBaseNode); + mMarkerTransparency = CSMPrefs::get()["3D Scene Input"]["object-marker-alpha"].toDouble(); updateMarker(); }