diff options
author | Julian Eisel <julian@blender.org> | 2022-07-19 17:30:46 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-07-19 17:33:09 +0300 |
commit | 2e3fb581280d637d92eb639b90e82f71e7f37ca3 (patch) | |
tree | f0fe32356ae669836724f04dec30a26d2a761ecf /source/blender/blenkernel/intern/camera.c | |
parent | 5bee991132ea8aa7fea827df5b5153f3211a3431 (diff) |
Cleanup: Apply clang-format
Diffstat (limited to 'source/blender/blenkernel/intern/camera.c')
-rw-r--r-- | source/blender/blenkernel/intern/camera.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/camera.c b/source/blender/blenkernel/intern/camera.c index 2e6439f7e1a..9aea3b2768f 100644 --- a/source/blender/blenkernel/intern/camera.c +++ b/source/blender/blenkernel/intern/camera.c @@ -25,8 +25,8 @@ #include "BLI_string.h" #include "BLI_utildefines.h" -#include "BKE_anim_data.h" #include "BKE_action.h" +#include "BKE_anim_data.h" #include "BKE_camera.h" #include "BKE_idtype.h" #include "BKE_layer.h" @@ -222,7 +222,8 @@ float BKE_camera_object_dof_distance(const Object *ob) if (cam->dof.focus_object) { float view_dir[3], dof_dir[3]; normalize_v3_v3(view_dir, ob->obmat[2]); - bPoseChannel *pchan = BKE_pose_channel_find_name(cam->dof.focus_object->pose, cam->dof.focus_subtarget); + bPoseChannel *pchan = BKE_pose_channel_find_name(cam->dof.focus_object->pose, + cam->dof.focus_subtarget); if (pchan) { float posemat[4][4]; mul_m4_m4m4(posemat, cam->dof.focus_object->obmat, pchan->pose_mat); |