From 8ebec02df6e58fe02bd33c236601a3209f9818cd Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Thu, 14 Jun 2012 09:41:41 +0000 Subject: Removed the actual data type concept as it was never used. --- .../blender/compositor/intern/COM_OutputSocket.h | 24 +--------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'source/blender/compositor/intern/COM_OutputSocket.h') diff --git a/source/blender/compositor/intern/COM_OutputSocket.h b/source/blender/compositor/intern/COM_OutputSocket.h index e008d651046..c073703c423 100644 --- a/source/blender/compositor/intern/COM_OutputSocket.h +++ b/source/blender/compositor/intern/COM_OutputSocket.h @@ -43,15 +43,7 @@ class WriteBufferOperation; class OutputSocket : public Socket { private: vector connections; - - /** - * @brief index of the inputsocket that determines the datatype of this outputsocket - * -1 will not use any inputsocket to determine the datatype, but use the outputsocket - * default datatype. - */ - int inputSocketDataTypeDeterminatorIndex; - - ChannelInfo channelinfo[4]; + void removeFirstConnection(); public: OutputSocket(DataType datatype); @@ -72,18 +64,10 @@ public: /** * @brief determine the actual data type and channel info. */ - void determineActualDataType(); void relinkConnections(OutputSocket *relinkToSocket) { this->relinkConnections(relinkToSocket, false); }; void relinkConnections(OutputSocket *relinkToSocket, bool single); - bool isActualDataTypeDeterminedByInputSocket() { - return this->inputSocketDataTypeDeterminatorIndex > -1; - } const int getNumberOfConnections() { return connections.size(); } - /** - * @brief get the index of the inputsocket that determines the datatype of this outputsocket - */ - int getInputSocketDataTypeDeterminatorIndex() { return this->inputSocketDataTypeDeterminatorIndex; } void clearConnections(); /** @@ -93,12 +77,6 @@ public: WriteBufferOperation *findAttachedWriteBufferOperation() const; ChannelInfo *getChannelInfo(const int channelnumber); - /** - * @brief trigger determine actual data type to all connected sockets - * @note will only be triggered just after the actual data type is set. - */ - void fireActualDataType(); - private: }; -- cgit v1.2.3