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:
authorCampbell Barton <ideasman42@gmail.com>2021-08-26 05:27:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-26 05:36:58 +0300
commit84f048fda566c2098ec1baa2ff1ad6c00b7395d5 (patch)
tree187bede237f476ef08d646f1e0ecc927c58b659f /source/blender/compositor/nodes
parent42032db1c220e2a10d2d80879ec0037b4e12257e (diff)
Cleanup: use C style comments for descriptive text
Diffstat (limited to 'source/blender/compositor/nodes')
-rw-r--r--source/blender/compositor/nodes/COM_BokehBlurNode.cc5
-rw-r--r--source/blender/compositor/nodes/COM_ColorSpillNode.cc4
-rw-r--r--source/blender/compositor/nodes/COM_Stabilize2dNode.cc4
3 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/compositor/nodes/COM_BokehBlurNode.cc b/source/blender/compositor/nodes/COM_BokehBlurNode.cc
index 1d2a0dae390..c51a98c0f82 100644
--- a/source/blender/compositor/nodes/COM_BokehBlurNode.cc
+++ b/source/blender/compositor/nodes/COM_BokehBlurNode.cc
@@ -64,9 +64,8 @@ void BokehBlurNode::convertToOperations(NodeConverter &converter,
converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0));
converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1));
- // NOTE: on the bokeh blur operation the sockets are switched.
- // for this reason the next two lines are correct.
- // Fix for T43771
+ /* NOTE: on the bokeh blur operation the sockets are switched.
+ * for this reason the next two lines are correct. Fix for T43771. */
converter.mapInputSocket(getInputSocket(2), operation->getInputSocket(3));
converter.mapInputSocket(getInputSocket(3), operation->getInputSocket(2));
diff --git a/source/blender/compositor/nodes/COM_ColorSpillNode.cc b/source/blender/compositor/nodes/COM_ColorSpillNode.cc
index 119cff93e84..6119e635e59 100644
--- a/source/blender/compositor/nodes/COM_ColorSpillNode.cc
+++ b/source/blender/compositor/nodes/COM_ColorSpillNode.cc
@@ -39,8 +39,8 @@ void ColorSpillNode::convertToOperations(NodeConverter &converter,
ColorSpillOperation *operation;
operation = new ColorSpillOperation();
operation->setSettings((NodeColorspill *)editorsnode->storage);
- operation->setSpillChannel(editorsnode->custom1 - 1); // Channel for spilling
- operation->setSpillMethod(editorsnode->custom2); // Channel method
+ operation->setSpillChannel(editorsnode->custom1 - 1); /* Channel for spilling */
+ operation->setSpillMethod(editorsnode->custom2); /* Channel method */
converter.addOperation(operation);
converter.mapInputSocket(inputSocketImage, operation->getInputSocket(0));
diff --git a/source/blender/compositor/nodes/COM_Stabilize2dNode.cc b/source/blender/compositor/nodes/COM_Stabilize2dNode.cc
index 7b2388bebca..90f62c6d562 100644
--- a/source/blender/compositor/nodes/COM_Stabilize2dNode.cc
+++ b/source/blender/compositor/nodes/COM_Stabilize2dNode.cc
@@ -101,7 +101,7 @@ void Stabilize2dNode::convertToOperations(NodeConverter &converter,
converter.mapOutputSocket(getOutputSocket(), psoperation->getOutputSocket());
if (invert) {
- // Translate -> Rotate -> Scale.
+ /* Translate -> Rotate -> Scale. */
converter.mapInputSocket(imageInput, translateOperation->getInputSocket(0));
converter.addLink(translateOperation->getOutputSocket(),
@@ -111,7 +111,7 @@ void Stabilize2dNode::convertToOperations(NodeConverter &converter,
converter.addLink(scaleOperation->getOutputSocket(), psoperation->getInputSocket(0));
}
else {
- // Scale -> Rotate -> Translate.
+ /* Scale -> Rotate -> Translate. */
converter.mapInputSocket(imageInput, scaleOperation->getInputSocket(0));
converter.addLink(scaleOperation->getOutputSocket(), rotateOperation->getInputSocket(0));