diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-11 03:31:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-11 03:31:50 +0300 |
commit | 4641d6d7b0199b9df765141e00af4ce86155de82 (patch) | |
tree | 67714094e1e6a4782bc8bf2d2855200bfb2d5045 /source/blender/editors/include/ED_view3d.h | |
parent | b9b45c2036b039e829b9eade3ef2de7a90bb7f8c (diff) |
Cleanup: check if the camera was moved before auto-key in smooth-view
There is no need to attempt to auto-key when the camera isn't moved.
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index e3fb8fcd433..bb95ea97c1c 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -1171,7 +1171,7 @@ void ED_view3d_camera_lock_init(const struct Depsgraph *depsgraph, * * Apply the 3D Viewport transformation back to the camera object. * - * \return true if the camera is moved. + * \return true if the camera (or one of it's parents) was moved. */ bool ED_view3d_camera_lock_sync(const struct Depsgraph *depsgraph, struct View3D *v3d, |