Commit 52c1cfcf authored by Eugene Ingerman's avatar Eugene Ingerman

Check pointer before using it. Fixing assert when image is open from command line.

parent 300a4bc5
......@@ -397,7 +397,8 @@ void KisLayerBox::updateUI()
KisNodeSP activeNode = m_nodeManager->activeNode();
if (activeNode != m_activeNode) {
if( !m_activeNode.isNull() )
m_activeNode = activeNode;
KisKeyframeChannel *opacityChannel = activeNode->getKeyframeChannel(, false);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment