diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 11:43:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 11:43:49 +0400 |
commit | 858ad8d725d787e27642c5b8f718ea117cf88a82 (patch) | |
tree | 0a69f7e9f4128665ddaaf9690bf0f6d0bbaadc5e /source/blender/compositor/nodes | |
parent | 1462c2f73e86f628f1168ca412436aaf2069d743 (diff) | |
parent | fc1164c2236654a74789cf767e8efc73d5599ab1 (diff) |
svn merge ^/trunk/blender -r48078:48105
Diffstat (limited to 'source/blender/compositor/nodes')
-rw-r--r-- | source/blender/compositor/nodes/COM_DefocusNode.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_DefocusNode.cpp b/source/blender/compositor/nodes/COM_DefocusNode.cpp index 62a9693889a..461505871c6 100644 --- a/source/blender/compositor/nodes/COM_DefocusNode.cpp +++ b/source/blender/compositor/nodes/COM_DefocusNode.cpp @@ -91,7 +91,11 @@ void DefocusNode::convertToOperations(ExecutionSystem *graph, CompositorContext graph->addOperation(bokeh); VariableSizeBokehBlurOperation *operation = new VariableSizeBokehBlurOperation(); - operation->setQuality(context->getQuality()); + if (data->preview) { + operation->setQuality(COM_QUALITY_LOW); + } else { + operation->setQuality(context->getQuality()); + } operation->setMaxBlur(data->maxblur); operation->setThreshold(data->bthresh); addLink(graph, bokeh->getOutputSocket(), operation->getInputSocket(1)); |