Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°
This commit is contained in:
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°
|
@ -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