Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°

This commit is contained in:
Sv. Lockal 2013-11-16 19:34:06 +04:00
parent 21f1bb4901
commit bc6ba9eb3b
Notes: blender-bot 2023-02-14 11:35:40 +01:00
Referenced by issue #37493, Defocus node with angle = 90° rotates only for ~1.5°
1 changed files with 1 additions and 1 deletions

View File

@ -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) {