[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krita/rempt/impex-refactoring] plugins/impex/libkra: Save show-in-timeline not depending on the ani
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2016-11-10 11:56:15
Message-ID: E1c4nxn-00011b-KW () code ! kde ! org
[Download RAW message or body]

Git commit e723bb8fdb5b9b1a30927ea41f81f52688da9ed6 by Dmitry Kazakov.
Committed on 10/11/2016 at 11:54.
Pushed by dkazakov into branch 'rempt/impex-refactoring'.

Save show-in-timeline not depending on the animated status of the layer

BUG:372171

M  +2    -4    plugins/impex/libkra/kis_kra_savexml_visitor.cpp

http://commits.kde.org/krita/e723bb8fdb5b9b1a30927ea41f81f52688da9ed6

diff --git a/plugins/impex/libkra/kis_kra_savexml_visitor.cpp b/plugins/imp=
ex/libkra/kis_kra_savexml_visitor.cpp
index 514fc3d..d1a49f3 100644
--- a/plugins/impex/libkra/kis_kra_savexml_visitor.cpp
+++ b/plugins/impex/libkra/kis_kra_savexml_visitor.cpp
@@ -116,10 +116,8 @@ QDomElement KisSaveXmlVisitor::savePaintLayerAttribute=
s(KisPaintLayer *layer, QD
     element.setAttribute(CHANNEL_LOCK_FLAGS, flagsToString(layer->channelL=
ockFlags()));
     element.setAttribute(COLORSPACE_NAME, layer->paintDevice()->colorSpace=
()->id());
 =

-    if (layer->isAnimated()) {
-        element.setAttribute(ONION_SKIN_ENABLED, layer->onionSkinEnabled()=
);
-        element.setAttribute(VISIBLE_IN_TIMELINE, layer->useInTimeline());
-    }
+    element.setAttribute(ONION_SKIN_ENABLED, layer->onionSkinEnabled());
+    element.setAttribute(VISIBLE_IN_TIMELINE, layer->useInTimeline());
 =

     return element;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic