Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-09-04 15:08:47 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-09-04 15:08:47 +0400
commitd4be0ec9fbd122e259662f8da0261798a0056430 (patch)
treeb4189c11887226c958c1b13752950ccfcef5c57c /source/blender/compositor/COM_compositor.h
parent6805db676d9d004c8131b13fca095b519997b768 (diff)
* there is a tiny memory leak. I think it happens when you quit blenden
during a WM_draw. tiny is max 8* size of pointer and it is maintained at that size. So no worries there. * cleanup some code to be certain that deinitialization happens correctly.
Diffstat (limited to 'source/blender/compositor/COM_compositor.h')
-rw-r--r--source/blender/compositor/COM_compositor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/compositor/COM_compositor.h b/source/blender/compositor/COM_compositor.h
index d9cfae8edb9..e6efd77f8b2 100644
--- a/source/blender/compositor/COM_compositor.h
+++ b/source/blender/compositor/COM_compositor.h
@@ -301,10 +301,17 @@ void COM_execute(RenderData *rd, bNodeTree *editingtree, int rendering);
/**
* @brief Deinitialize the compositor caches and allocated memory.
+ * Use COM_clearCaches to only free the caches.
*/
void COM_deinitialize(void);
/**
+ * @brief Clear all compositor caches. (Compositor system will still remain available).
+ * To deinitialize the compositor use the COM_deinitialize method.
+ */
+void COM_clearCaches(void);
+
+/**
* @brief Return a list of highlighted bnodes pointers.
* @return
*/