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-05-17 17:44:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-17 17:44:15 +0400
commit979f6bab9c1aba27b8d018d1481987d841f68ee1 (patch)
tree162419d475bf68326b3b5e88b25f27057fee6831 /source/blender/compositor/intern/COM_CompositorContext.cpp
parentfe0d1a381003408dedcd3142a727c77806617150 (diff)
style cleanup: braces, compositor
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.cpp')
-rw-r--r--source/blender/compositor/intern/COM_CompositorContext.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.cpp b/source/blender/compositor/intern/COM_CompositorContext.cpp
index dbb05d4f493..abab4edfc3f 100644
--- a/source/blender/compositor/intern/COM_CompositorContext.cpp
+++ b/source/blender/compositor/intern/COM_CompositorContext.cpp
@@ -33,7 +33,8 @@ CompositorContext::CompositorContext() {
const int CompositorContext::getFramenumber() const {
if (this->scene) {
return this->scene->r.cfra;
- } else {
+ }
+ else {
return -1; /* this should never happen */
}
}
@@ -41,7 +42,8 @@ const int CompositorContext::getFramenumber() const {
const int CompositorContext::isColorManaged() const {
if (this->scene) {
return this->scene->r.color_mgt_flag & R_COLOR_MANAGEMENT;
- } else {
+ }
+ else {
return 0; /* this should never happen */
}
}