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:
authorManuel Castilla <manzanillawork@gmail.com>2021-07-26 20:07:08 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-07-26 21:13:03 +0300
commita117794f8c05ad2e2b7db0b0f43c3059f20e62a1 (patch)
tree8f29140bdbfc0f669f7301f5f3ccc8115bb374f9 /source/blender/compositor/intern/COM_Converter.cc
parentcf74cd93674c11e8e5ef599100d0c7bf3cc8a79c (diff)
Compositor: Full frame Scale node
Adds full frame implementation to this node operations. No functional changes. Includes a new operation method `init_data` used to initialize any data needed after operations are linked and resolutions determined. Once tiled implementation is removed `initExecution` may be renamed to `init_rendering` and `init_data` to `init_execution`. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11944
Diffstat (limited to 'source/blender/compositor/intern/COM_Converter.cc')
-rw-r--r--source/blender/compositor/intern/COM_Converter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_Converter.cc b/source/blender/compositor/intern/COM_Converter.cc
index 18973bb5a00..1983eb190e2 100644
--- a/source/blender/compositor/intern/COM_Converter.cc
+++ b/source/blender/compositor/intern/COM_Converter.cc
@@ -518,7 +518,7 @@ void COM_convert_resolution(NodeOperationBuilder &builder,
NodeOperation *first = nullptr;
ScaleOperation *scaleOperation = nullptr;
if (doScale) {
- scaleOperation = new ScaleOperation(fromSocket->getDataType());
+ scaleOperation = new ScaleRelativeOperation(fromSocket->getDataType());
scaleOperation->getInputSocket(1)->setResizeMode(ResizeMode::None);
scaleOperation->getInputSocket(2)->setResizeMode(ResizeMode::None);
first = scaleOperation;