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/nodes/COM_KeyingScreenNode.cc')
-rw-r--r--source/blender/compositor/nodes/COM_KeyingScreenNode.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/compositor/nodes/COM_KeyingScreenNode.cc b/source/blender/compositor/nodes/COM_KeyingScreenNode.cc
index e405c01ddf2..bf5d7bb237a 100644
--- a/source/blender/compositor/nodes/COM_KeyingScreenNode.cc
+++ b/source/blender/compositor/nodes/COM_KeyingScreenNode.cc
@@ -21,28 +21,28 @@
namespace blender::compositor {
-KeyingScreenNode::KeyingScreenNode(bNode *editorNode) : Node(editorNode)
+KeyingScreenNode::KeyingScreenNode(bNode *editor_node) : Node(editor_node)
{
/* pass */
}
-void KeyingScreenNode::convertToOperations(NodeConverter &converter,
- const CompositorContext &context) const
+void KeyingScreenNode::convert_to_operations(NodeConverter &converter,
+ const CompositorContext &context) const
{
- bNode *editorNode = this->getbNode();
- MovieClip *clip = (MovieClip *)editorNode->id;
- NodeKeyingScreenData *keyingscreen_data = (NodeKeyingScreenData *)editorNode->storage;
+ bNode *editor_node = this->get_bnode();
+ MovieClip *clip = (MovieClip *)editor_node->id;
+ NodeKeyingScreenData *keyingscreen_data = (NodeKeyingScreenData *)editor_node->storage;
- NodeOutput *outputScreen = this->getOutputSocket(0);
+ NodeOutput *output_screen = this->get_output_socket(0);
/* Always connect the output image. */
KeyingScreenOperation *operation = new KeyingScreenOperation();
- operation->setMovieClip(clip);
- operation->setTrackingObject(keyingscreen_data->tracking_object);
- operation->setFramenumber(context.getFramenumber());
- converter.addOperation(operation);
+ operation->set_movie_clip(clip);
+ operation->set_tracking_object(keyingscreen_data->tracking_object);
+ operation->set_framenumber(context.get_framenumber());
+ converter.add_operation(operation);
- converter.mapOutputSocket(outputScreen, operation->getOutputSocket());
+ converter.map_output_socket(output_screen, operation->get_output_socket());
}
} // namespace blender::compositor