Cleanup: replace C-style casts with functional casts for numeric types

Some changes missed from f68cfd6bb0.
This commit is contained in:
2022-09-25 20:27:46 +10:00
parent d35a10134c
commit 21d77a417e
40 changed files with 162 additions and 162 deletions

View File

@@ -2101,7 +2101,7 @@ static int object_transform_axis_target_modal(bContext *C, wmOperator *op, const
}
#endif
double depth = (double)depth_fl;
double depth = double(depth_fl);
if ((depth > depths->depth_range[0]) && (depth < depths->depth_range[1])) {
xfd->prev.depth = depth_fl;
xfd->prev.is_depth_valid = true;