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

@@ -33,7 +33,7 @@ NodeBase::NodeBase() {
}
NodeBase::~NodeBase(){
NodeBase::~NodeBase() {
while (!this->outputsockets.empty()) {
delete (this->outputsockets.back());
this->outputsockets.pop_back();
@@ -101,7 +101,8 @@ DataType NodeBase::determineActualDataType(OutputSocket *outputsocket) {
const int inputIndex = outputsocket->getInputSocketDataTypeDeterminatorIndex();
if (inputIndex != -1) {
return this->getInputSocket(inputIndex)->getActualDataType();
} else {
}
else {
return outputsocket->getDataType();
}
}