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:
authorSv. Lockal <lockalsash@gmail.com>2013-11-16 19:34:06 +0400
committerSv. Lockal <lockalsash@gmail.com>2013-11-16 19:49:23 +0400
commitbc6ba9eb3bf8c8560d5c0dd6eb9075325190fee7 (patch)
treeb371052b5fb98b031dd99571947f72c03d380825 /source/blender/compositor
parent21f1bb49015ca2d73d57e2cd2e6d70e946cf2d83 (diff)
Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/nodes/COM_DefocusNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_DefocusNode.cpp b/source/blender/compositor/nodes/COM_DefocusNode.cpp
index c2bd8997525..b6dd0e526ae 100644
--- a/source/blender/compositor/nodes/COM_DefocusNode.cpp
+++ b/source/blender/compositor/nodes/COM_DefocusNode.cpp
@@ -85,7 +85,7 @@ void DefocusNode::convertToOperations(ExecutionSystem *graph, CompositorContext
BokehImageOperation *bokeh = new BokehImageOperation();
NodeBokehImage *bokehdata = new NodeBokehImage();
- bokehdata->angle = data->rotation;
+ bokehdata->angle = RAD2DEGF(data->rotation);
bokehdata->rounding = 0.0f;
bokehdata->flaps = data->bktype;
if (data->bktype < 3) {