VSE: Use snapping for retiming keys #129709

Merged
Richard Antalik merged 3 commits from iss/blender:snap-retiming into main 2024-11-06 05:43:51 +01:00

Retiming keys now can be used as snap sources or targets. Snapping to
keys can be disabled similar to other targets.

Retiming keys now can be used as snap sources or targets. Snapping to keys can be disabled similar to other targets.
Richard Antalik added 1 commit 2024-11-02 06:17:17 +01:00
TODO: double-check code, versioning
Iliya Katushenock reviewed 2024-11-03 22:45:39 +01:00
@ -45,2 +52,3 @@
static blender::VectorSet<Sequence *> query_snap_sources_timeline(const Scene *scene)
static blender::VectorSet<Sequence *> query_snap_sources_timeline(
const Scene *scene, blender::Map<SeqRetimingKey *, Sequence *> retiming_selection)

Pass Map by reference, this is non-reference data type.

Pass `Map` by reference, this is non-reference data type.
iss marked this conversation as resolved
Richard Antalik requested review from Sergey Sharybin 2024-11-04 02:43:23 +01:00
Richard Antalik added 1 commit 2024-11-04 03:05:21 +01:00
Sergey Sharybin approved these changes 2024-11-05 18:09:29 +01:00
Sergey Sharybin left a comment
Owner

On the code side looks fine, I didn't have time to have a deep dive to it or to test on the user side.
From my side just fix the formatting and it should be fine to go. No need to wait for the extra review round for it.

On the code side looks fine, I didn't have time to have a deep dive to it or to test on the user side. From my side just fix the formatting and it should be fine to go. No need to wait for the extra review round for it.
@ -86,3 +88,3 @@
copy_v2_v2(values_final, t->values);
transform_snap_mixed_apply(t, values_final);
transform_convert_sequencer_channel_clamp(t, values_final);
if (!sequencer_retiming_mode_is_active(t->context)){

Missing clang-format?

Missing clang-format?
Author
Member

Nope...

Nope...
Richard Antalik added 1 commit 2024-11-06 05:42:23 +01:00
Richard Antalik merged commit b193684b5d into main 2024-11-06 05:43:51 +01:00
Richard Antalik deleted branch snap-retiming 2024-11-06 05:43:55 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#129709
No description provided.