Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°
This commit is contained in:
parent
21f1bb4901
commit
bc6ba9eb3b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue