VSE: snapping source strip right handle will incorrectly offset attached transform strip keyframes #84705

Closed
opened 2021-01-14 12:06:08 +01:00 by Olivier Jolly · 7 comments

System Information
Operating system: Debian 10
Graphics card: Radeon HD 7950 + GeForce GTX 1060

Blender Version
Broken: 2.90.0
Worked: 2.83.3

Short description of error

When extending a strip via snapping of its right handle, if it had an effect strip with keyframes, those keyframes are incorrectly offset beyond the source strip boundaries.

Exact steps for others to reproduce the error
With the attached .blend file, press shift + S to snap the right handle of the source strip to the playhead. It will change the transform strip keyframes to be incorrect.

I also attached a crude PoC patch which fixed my own use case. It's in no case intended to be usable as it is but just a hint at the piece of code probably responsible for the incorrect behaviour.

blender_vse_bug_transform_strip_offset_when_extending_source.blend

blender_vse_bug_transform_strip_offset_when_extending_source.patch

Capture d’écran du 2021-01-14 11-48-57.png

Capture d’écran du 2021-01-14 11-50-10.png

**System Information** Operating system: Debian 10 Graphics card: Radeon HD 7950 + GeForce GTX 1060 **Blender Version** Broken: 2.90.0 Worked: 2.83.3 **Short description of error** When extending a strip via snapping of its right handle, if it had an effect strip with keyframes, those keyframes are incorrectly offset beyond the source strip boundaries. **Exact steps for others to reproduce the error** With the attached .blend file, press shift + S to snap the right handle of the source strip to the playhead. It will change the transform strip keyframes to be incorrect. I also attached a crude PoC patch which fixed my own use case. It's in no case intended to be usable as it is but just a hint at the piece of code probably responsible for the incorrect behaviour. [blender_vse_bug_transform_strip_offset_when_extending_source.blend](https://archive.blender.org/developer/F9578493/blender_vse_bug_transform_strip_offset_when_extending_source.blend) [blender_vse_bug_transform_strip_offset_when_extending_source.patch](https://archive.blender.org/developer/F9578494/blender_vse_bug_transform_strip_offset_when_extending_source.patch) ![Capture d’écran du 2021-01-14 11-48-57.png](https://archive.blender.org/developer/F9578484/Capture_d_écran_du_2021-01-14_11-48-57.png) ![Capture d’écran du 2021-01-14 11-50-10.png](https://archive.blender.org/developer/F9578486/Capture_d_écran_du_2021-01-14_11-50-10.png)
Author

Added subscriber: @zeograd

Added subscriber: @zeograd

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm the problem, in fact I don't think the snap on just one side of the strip should affect the f-curve. The behavior would combine better with that of transform.
For a better review of the patch, I recommend submitting it through the https://developer.blender.org/differential/diff/create/

I can confirm the problem, in fact I don't think the snap on just one side of the strip should affect the f-curve. The behavior would combine better with that of transform. For a better review of the patch, I recommend submitting it through the https://developer.blender.org/differential/diff/create/
Author

I've created D10116 as advised. I also included the fact that either handle snapping won't change the related strip keyframes.

I've created [D10116](https://archive.blender.org/developer/D10116) as advised. I also included the fact that either handle snapping won't change the related strip keyframes.

This issue was referenced by 5501a5de32

This issue was referenced by 5501a5de32db99a944fc6edfb02e3ba2d07de772

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2021-01-25 06:00:43 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
4 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#84705
No description provided.