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>2012-07-27 13:32:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-27 13:32:47 +0400
commitb10a35a9a9128531347e60be530631b39386dcb2 (patch)
treebea13c8ae1f9557b4dc359eb173d0326440884dc /source/blender/compositor/nodes/COM_MaskNode.cpp
parent93c29aaeb1b0021bac6cb09da1f0cfc7ca90809e (diff)
motion blur for mask node:
TODO - add shutter speed option - add blur option
Diffstat (limited to 'source/blender/compositor/nodes/COM_MaskNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_MaskNode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/nodes/COM_MaskNode.cpp b/source/blender/compositor/nodes/COM_MaskNode.cpp
index 2620f84cfae..71a7191a35e 100644
--- a/source/blender/compositor/nodes/COM_MaskNode.cpp
+++ b/source/blender/compositor/nodes/COM_MaskNode.cpp
@@ -69,5 +69,9 @@ void MaskNode::convertToOperations(ExecutionSystem *graph, CompositorContext *co
operation->setSmooth((bool)(editorNode->custom1 & CMP_NODEFLAG_MASK_AA) != 0);
operation->setFeather((bool)(editorNode->custom1 & CMP_NODEFLAG_MASK_NO_FEATHER) == 0);
+ if (editorNode->custom1 & CMP_NODEFLAG_MASK_MOTION_BLUR) {
+ operation->setMotionBlurSamples(editorNode->custom2);
+ }
+
graph->addOperation(operation);
}