Cleanup: format, function style cast

This commit is contained in:
Campbell Barton
2023-12-07 11:42:12 +11:00
parent 9d9764c1c9
commit bad4390663
2 changed files with 10 additions and 3 deletions
@@ -400,8 +400,15 @@ bool ED_view3d_win_to_ray_clipped(Depsgraph *depsgraph,
const bool do_clip_planes)
{
float ray_end_dummy[3];
return ED_view3d_win_to_ray_clipped_ex(
depsgraph, region, v3d, mval, do_clip_planes, nullptr, r_ray_normal, r_ray_start, ray_end_dummy);
return ED_view3d_win_to_ray_clipped_ex(depsgraph,
region,
v3d,
mval,
do_clip_planes,
nullptr,
r_ray_normal,
r_ray_start,
ray_end_dummy);
}
void ED_view3d_win_to_ray(const ARegion *region,
+1 -1
View File
@@ -2555,7 +2555,7 @@ static StructRNA *bpy_prop_deferred_data_or_srna(PyObject *self,
/* Crash if this is ever used by accident! */
#ifndef NDEBUG
*r_deferred_result = (PyObject *)(intptr_t)1;
*r_deferred_result = (PyObject *)intptr_t(1);
#endif
/* No error or deferred result, perform registration immediately. */