Commit 3def70fa authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Set "Show in Timeline" to "on" by default

During the sprint we discussed that with painters and they said that
it would be much easier for them if all the layers would be visible
in the timeline by default. If the user can always hide a layer if
he likes.
parent 38480887
......@@ -51,7 +51,7 @@ struct Q_DECL_HIDDEN KisBaseNode::Private
, collapsed(false)
, supportsLodMoves(false)
, animated(false)
, useInTimeline(false)
, useInTimeline(true)
, image(image)
......@@ -135,5 +135,5 @@ void TimelineFramesIndexConverter::notifyDummyRemoved(KisNodeDummy *dummy)
bool TimelineFramesIndexConverter::isDummyVisible(KisNodeDummy *dummy) const
return dummy->node()->useInTimeline() || dummy == m_activeDummy;
return (dummy->node()->useInTimeline() && dummy->parent()) || dummy == m_activeDummy;
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