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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-04 22:47:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-04 22:47:08 +0400
commit306e2b48786bc27d818c1ee04382cf654310c3a0 (patch)
tree8d719a1b77390a1ddf77ade3378292297829ddb9 /source/blender/compositor/intern/COM_WorkScheduler.cpp
parent068cceab6c491ddbe3a3baec560900a57db279b2 (diff)
stule cleanup
Diffstat (limited to 'source/blender/compositor/intern/COM_WorkScheduler.cpp')
-rw-r--r--source/blender/compositor/intern/COM_WorkScheduler.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/compositor/intern/COM_WorkScheduler.cpp b/source/blender/compositor/intern/COM_WorkScheduler.cpp
index f7ae2945471..78e198ac9c2 100644
--- a/source/blender/compositor/intern/COM_WorkScheduler.cpp
+++ b/source/blender/compositor/intern/COM_WorkScheduler.cpp
@@ -120,8 +120,7 @@ void COM_startReadHighlights()
int COM_isHighlightedbNode(bNode *bnode)
{
- if (!g_highlightInitialized)
- {
+ if (!g_highlightInitialized) {
return false;
}
@@ -129,7 +128,7 @@ int COM_isHighlightedbNode(bNode *bnode)
return false;
}
- for (int i = 0 ; i < MAX_HIGHLIGHT; i++) {
+ for (int i = 0; i < MAX_HIGHLIGHT; i++) {
void *p = g_highlightedNodesRead[i];
if (!p) return false;
if (p == bnode) return true;
@@ -409,14 +408,12 @@ void WorkScheduler::deinitialize()
/* deinitialize highlighting */
if (g_highlightInitialized) {
g_highlightInitialized = false;
- if (g_highlightedNodes)
- {
+ if (g_highlightedNodes) {
MEM_freeN(g_highlightedNodes);
g_highlightedNodes = NULL;
}
- if (g_highlightedNodesRead)
- {
+ if (g_highlightedNodesRead) {
MEM_freeN(g_highlightedNodesRead);
g_highlightedNodesRead = NULL;
}