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:
Diffstat (limited to 'source/blender/compositor/intern/COM_Socket.cpp')
-rw-r--r--source/blender/compositor/intern/COM_Socket.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/compositor/intern/COM_Socket.cpp b/source/blender/compositor/intern/COM_Socket.cpp
index cb429c9df4a..a5336ac1202 100644
--- a/source/blender/compositor/intern/COM_Socket.cpp
+++ b/source/blender/compositor/intern/COM_Socket.cpp
@@ -24,14 +24,16 @@
#include "COM_Node.h"
#include "COM_SocketConnection.h"
-Socket::Socket(DataType datatype) {
+Socket::Socket(DataType datatype)
+{
this->datatype = datatype;
this->actualType = COM_DT_UNKNOWN;
this->editorSocket = NULL;
this->node = NULL;
}
-DataType Socket::getDataType() const {
+DataType Socket::getDataType() const
+{
return this->datatype;
}
@@ -39,9 +41,10 @@ int Socket::isInputSocket() const { return false; }
int Socket::isOutputSocket() const { return false; }
const int Socket::isConnected() const {return false;}
void Socket::setNode(NodeBase *node) {this->node = node;}
-NodeBase* Socket::getNode() const {return this->node;}
+NodeBase *Socket::getNode() const {return this->node;}
DataType Socket::getActualDataType() const {return this->actualType;}
-void Socket::setActualDataType(DataType actualType) {
+void Socket::setActualDataType(DataType actualType)
+{
this->actualType = actualType;
}