diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-11 15:34:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-11 15:34:22 +0300 |
commit | 63c463ac458fda7a14f8e9f217c5cba7426aa4a8 (patch) | |
tree | 93b3dc763e80f0cc8520413e36e0ccf3605416c5 /source/blender/editors/space_view3d | |
parent | 1cd65b274b69990c36187148f873497f282cf5a9 (diff) |
Docs: improve comments
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_fly.c | 8 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_walk.c | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index 3e2e113be3e..01828824e8d 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -155,7 +155,13 @@ typedef struct FlyInfo { * without moving the direction there looking */ bool use_freelook; - bool anim_playing; /* needed for autokeyframing */ + /** + * Needed for auto-keyframing, when animation isn't playing, only keyframe on confirmation. + * + * Currently we can't cancel this operator usefully while recording on animation playback + * (this would need to un-key all previous frames). + */ + bool anim_playing; int mval[2]; /* latest 2D mouse values */ int center_mval[2]; /* center mouse values */ diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c index 22c1aafd7c4..4b2e9d974b9 100644 --- a/source/blender/editors/space_view3d/view3d_walk.c +++ b/source/blender/editors/space_view3d/view3d_walk.c @@ -196,7 +196,13 @@ typedef struct WalkInfo { short state; bool redraw; - bool anim_playing; /* needed for autokeyframing */ + /** + * Needed for auto-keyframing, when animation isn't playing, only keyframe on confirmation. + * + * Currently we can't cancel this operator usefully while recording on animation playback + * (this would need to un-key all previous frames). + */ + bool anim_playing; int prev_mval[2]; /* previous 2D mouse values */ int center_mval[2]; /* center mouse values */ |