Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add some documentation for UpdateFrameJobsNonRecursive.

Wolthera van Hövell tot Westerflier05c6eb3f7607
diff --git a/libs/image/kis_layer_utils.h b/libs/image/kis_layer_utils.h
index 37163074e3..7148fc2db2 100644
--- a/libs/image/kis_layer_utils.h
+++ b/libs/image/kis_layer_utils.h
@@ -94,6 +94,11 @@ namespace KisLayerUtils
typedef QMap<int, QSet<KisNodeSP> > FrameJobs;
void updateFrameJobs(FrameJobs *jobs, KisNodeSP node);
void updateFrameJobsRecursive(FrameJobs *jobs, KisNodeSP rootNode);
+ /**
+ * @brief updateFrameJobsNonRecursive
+ * updates the frame jobs non-recursively, that is, on the rootNode only.
+ * @param frameTimesRecursive -- whether to make the frame times themselves recursive, or to only use the frames on the root node.
+ */
void updateFrameJobsNonRecursive(FrameJobs *jobs, KisNodeSP rootNode, bool frameTimesRecursive = false);
/**