[Bf-blender-cvs] [1eeb174e724] master: Cleanup: update comment about undo & smooth-view
Campbell Barton
noreply at git.blender.org
Fri Aug 19 15:01:29 CEST 2022
Commit: 1eeb174e724cd32aab446d2b0fe2f5508e0e0740
Author: Campbell Barton
Date: Fri Aug 19 21:04:57 2022 +1000
Branches: master
https://developer.blender.org/rB1eeb174e724cd32aab446d2b0fe2f5508e0e0740
Cleanup: update comment about undo & smooth-view
===================================================================
M source/blender/editors/space_view3d/view3d_utils.c
===================================================================
diff --git a/source/blender/editors/space_view3d/view3d_utils.c b/source/blender/editors/space_view3d/view3d_utils.c
index 5f2a4e8c4cc..cb716391fb2 100644
--- a/source/blender/editors/space_view3d/view3d_utils.c
+++ b/source/blender/editors/space_view3d/view3d_utils.c
@@ -705,8 +705,9 @@ bool ED_view3d_camera_lock_undo_test(const View3D *v3d,
* Create a MEMFILE undo-step for locked camera movement when transforming the view.
* Edit and texture paint mode don't use MEMFILE undo so undo push is skipped for them.
* NDOF and track-pad navigation would create an undo step on every gesture and we may end up with
- * unnecessary undo steps so undo push for them is not supported for now. Also operators that uses
- * smooth view for navigation are excluded too, but they can be supported, see: D15345.
+ * unnecessary undo steps so undo push for them is not supported for now.
+ * Operators that use smooth view for navigation are supported via an optional parameter field,
+ * see: #V3D_SmoothParams.undo_str.
*/
static bool view3d_camera_lock_undo_ex(const char *str,
const View3D *v3d,
More information about the Bf-blender-cvs
mailing list