Skip to content
Snippets Groups Projects
Commit 6f19fca3 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm cast

parent cb524851
No related branches found
No related tags found
1 merge request!1990cleanup and simplification in GUI plot context
......@@ -46,7 +46,7 @@ void MaskGraphicsProxy::setSceneAdaptor(SceneAdaptor* sceneAdaptor)
if (m_sceneAdaptor)
m_sceneAdaptor->setColorMapPlot(nullptr);
m_sceneAdaptor = dynamic_cast<SceneAdaptor*>(sceneAdaptor);
m_sceneAdaptor = sceneAdaptor;
if (m_sceneAdaptor)
m_sceneAdaptor->setColorMapPlot(m_colorMap);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment