diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_TransformOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_TransformOperation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_TransformOperation.cc b/source/blender/compositor/operations/COM_TransformOperation.cc index 36a4899ef53..0db018a3dc0 100644 --- a/source/blender/compositor/operations/COM_TransformOperation.cc +++ b/source/blender/compositor/operations/COM_TransformOperation.cc @@ -38,7 +38,7 @@ void TransformOperation::init_data() translate_factor_y_; const float degree = get_input_operation(DEGREE_INPUT_INDEX)->get_constant_value_default(0.0f); - const double rad = convert_degree_to_rad_ ? DEG2RAD((double)degree) : degree; + const double rad = convert_degree_to_rad_ ? DEG2RAD(double(degree)) : degree; rotate_cosine_ = cos(rad); rotate_sine_ = sin(rad); |