[graphics/krita] /: Removed unused action "convert_to_animated".
Emmet O'Neill <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 73565bff2147997e678326295ff7b5f759834987 by Emmet O'Neill.
Committed on 22/07/2026 at 02:31.
Pushed by emmetoneill into branch 'master'.
Removed unused action "convert_to_animated".
The status of whether a layer is or isn't animated is an implementation
detail in Krita, so manual conversion is not necessary. A layer becomes
an animated layer automatically when the first animation frame is added
to it.
On top of that, this "convert_to_animated" action was actually unused,
and invoking this action did nothing other than produce a console warning.
M +0 -12 krita/krita.action
M +0 -2 libs/ui/kis_node_manager.cpp
https://invent.kde.org/graphics/krita/-/commit/73565bff2147997e678326295ff7b5f759834987
diff --git a/krita/krita.action b/krita/krita.action
index dd06f519361..9673468363e 100644
--- a/krita/krita.action
+++ b/krita/krita.action
@@ -3053,18 +3053,6 @@
<isCheckable>false</isCheckable>
<statusTip/>
</Action>
- <Action name="convert_to_animated">
- <icon/>
- <text>Convert to &Animated Layer</text>
- <whatsThis/>
- <toolTip>Convert layer into animation frames</toolTip>
- <iconText>Convert layer into animation frames</iconText>
- <activationFlags>100000</activationFlags>
- <activationConditions>0</activationConditions>
- <shortcut/>
- <isCheckable>false</isCheckable>
- <statusTip/>
- </Action>
<Action name="convert_to_file_layer">
<icon>convert-to-fileLayer</icon>
<text>Convert to &File Layer...</text>
diff --git a/libs/ui/kis_node_manager.cpp b/libs/ui/kis_node_manager.cpp
index d4528a15065..af47598f631 100644
--- a/libs/ui/kis_node_manager.cpp
+++ b/libs/ui/kis_node_manager.cpp
@@ -400,8 +400,6 @@ void KisNodeManager::setup(KisKActionCollection * actionCollection, KisActionMan
CONVERT_NODE_ACTION_2("convert_to_transparency_mask", "KisTransparencyMask", QStringList() << "KisTransparencyMask" << "KisColorizeMask");
- CONVERT_NODE_ACTION("convert_to_animated", "animated");
-
CONVERT_NODE_ACTION_2("convert_to_file_layer", "KisFileLayer", QStringList() << "KisFileLayer" << "KisCloneLayer");
connect(&m_d->nodeConversionSignalMapper, SIGNAL(mapped(QString)),