style cleanup: braces, compositor

This commit is contained in:
2012-05-17 13:44:15 +00:00
parent fe0d1a3810
commit 979f6bab9c
108 changed files with 802 additions and 545 deletions

View File

@@ -65,9 +65,9 @@ void ImageNode::convertToOperations(ExecutionSystem *graph, CompositorContext *
int numberOfOutputs = this->getNumberOfOutputSockets();
/* force a load, we assume iuser index will be set OK anyway */
if(image && image->type==IMA_TYPE_MULTILAYER) {
if (image && image->type==IMA_TYPE_MULTILAYER) {
BKE_image_get_ibuf(image, imageuser);
if(image->rr) {
if (image->rr) {
OutputSocket * socket;
int index;
for (index = 0 ; index < numberOfOutputs ; index ++) {
@@ -110,7 +110,8 @@ void ImageNode::convertToOperations(ExecutionSystem *graph, CompositorContext *
}
}
}
} else {
}
else {
if (numberOfOutputs > 0) {
ImageOperation *operation = new ImageOperation();
if (outputImage->isConnected()) {