[Bf-blender-cvs] [5f70548] blender-tiles: Fixed comments sergey

Jeroen Bakker noreply at git.blender.org
Thu Jul 31 22:04:35 CEST 2014


Commit: 5f7054817e7d35aa4dffc5fb260fcc53317383b0
Author: Jeroen Bakker
Date:   Thu Jul 31 21:26:30 2014 +0200
Branches: blender-tiles
https://developer.blender.org/rB5f7054817e7d35aa4dffc5fb260fcc53317383b0

Fixed comments sergey

===================================================================

M	source/blender/compositor/intern/COM_Sampler.h
D	source/blender/compositor/intern/COM_SocketConnection.h

===================================================================

diff --git a/source/blender/compositor/intern/COM_Sampler.h b/source/blender/compositor/intern/COM_Sampler.h
index 5b6cd95..f0a7fb1 100644
--- a/source/blender/compositor/intern/COM_Sampler.h
+++ b/source/blender/compositor/intern/COM_Sampler.h
@@ -23,15 +23,12 @@
 class SamplerNearestValue;
 class SamplerNearestNoCheckValue;
 class SamplerLinearValue;
-//class SamplerBilinearValue;
 class SamplerNearestVector;
 class SamplerNearestNoCheckVector;
 class SamplerLinearVector;
-//class SamplerBilinearVector;
 class SamplerNearestColor;
 class SamplerNearestNoCheckColor;
 class SamplerLinearColor;
-//class SamplerBilinearColor;
 
 #ifndef _COM_Sampler_h_
 #define _COM_Sampler_h_
diff --git a/source/blender/compositor/intern/COM_SocketConnection.h b/source/blender/compositor/intern/COM_SocketConnection.h
deleted file mode 100644
index 1ed8748..0000000
--- a/source/blender/compositor/intern/COM_SocketConnection.h
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Copyright 2011, Blender Foundation.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * Contributor: 
- *		Jeroen Bakker 
- *		Monique Dewanchand
- */
-
-#ifndef _COM_SocketConnection_h
-#define _COM_SocketConnection_h
-
-#include "DNA_node_types.h"
-#include "COM_Node.h"
-#include "COM_Socket.h"
-
-/**
- * @brief An SocketConnection is an connection between an InputSocket and an OutputSocket.
- *
- * <pre>
- * +----------+     To InputSocket +----------+
- * | From     |  SocketConnection \| To Node  |
- * | Node     *====================*          |
- * |          |\                   |          |
- * |          | From OutputSocket  +----------+
- * +----------+
- * </pre>
- * @ingroup Model
- * @see InputSocket
- * @see OutputSocket
- */
-class SocketConnection {
-private:
-	/**
-	 * @brief Startpoint of the connection
-	 */
-	OutputSocket *m_fromSocket;
-	
-	/**
-	 * @brief Endpoint of the connection
-	 */
-	InputSocket *m_toSocket;
-	
-	/**
-	 * @brief has the resize already been done for this connection
-	 */
-	bool m_ignoreResizeCheck;
-public:
-	SocketConnection();
-	
-	/**
-	 * @brief set the startpoint of the connection
-	 * @param fromsocket
-	 */
-	void setFromSocket(OutputSocket *fromsocket);
-	
-	/**
-	 * @brief get the startpoint of the connection
-	 * @return from OutputSocket
-	 */
-	OutputSocket *getFromSocket() const;
-	
-	/**
-	 * @brief set the endpoint of the connection
-	 * @param tosocket
-	 */
-	void setToSocket(InputSocket *tosocket);
-	
-	/**
-	 * @brief get the endpoint of the connection
-	 * @return to InputSocket
-	 */
-	InputSocket *getToSocket() const;
-	
-	/**
-	 * @brief check if this connection is valid
-	 */
-	bool isValid() const;
-	
-	/**
-	 * @brief return the Node where this connection is connected from
-	 */
-	NodeBase *getFromNode() const;
-	
-	/**
-	 * @brief return the Node where this connection is connected to
-	 */
-	NodeBase *getToNode() const;
-	
-	/**
-	 * @brief set, whether the resize has already been done for this SocketConnection
-	 */
-	void setIgnoreResizeCheck(bool check) { this->m_ignoreResizeCheck = check; }
-	
-	/**
-	 * @brief has the resize already been done for this SocketConnection
-	 */
-	bool isIgnoreResizeCheck() const { return this->m_ignoreResizeCheck; }
-	
-	/**
-	 * @brief does this SocketConnection need resolution conversion
-	 * @note PreviewOperation's will be ignored
-	 * @note Already converted SocketConnection's will be ignored
-	 * @return needs conversion [true:false]
-	 */
-	bool needsResolutionConversion() const;
-
-#ifdef WITH_CXX_GUARDEDALLOC
-	MEM_CXX_CLASS_ALLOC_FUNCS("COM:SocketConnection")
-#endif
-};
-
-#endif




More information about the Bf-blender-cvs mailing list