Wrong key frames in added scene in VSE #49261

Closed
opened 2016-09-05 23:23:44 +02:00 by rools · 9 comments

Blender Version
Broken: 2.77.a, 2.78

Short description of error
I create a scene Scene in VSE by adding some strips with effects at specific key frames. When I import this scene in SceneAll in VSE by using

Add->Scene with use sequence enabled in the properties, the key frames are not in the right time. For instance, in scene1 key frames are at 1 and 40. When I import Scene in SceneAll, key frames still will be at 1 and 40 whatever the start of Scene in SceneAll. I was expecting another result : key frames at (1+start of Scene in SceneAll) and (40+start of Scene in SceneAll).

Exact steps for others to reproduce the error
This bug is show in the attached file. bug.blend

**Blender Version** Broken: 2.77.a, 2.78 **Short description of error** I create a scene Scene in VSE by adding some strips with effects at specific key frames. When I import this scene in SceneAll in VSE by using **Add->Scene** with *use sequence* enabled in the properties, the key frames are not in the right time. For instance, in scene1 key frames are at 1 and 40. When I import Scene in SceneAll, key frames still will be at 1 and 40 whatever the start of Scene in SceneAll. I was expecting another result : key frames at (1+start of Scene in SceneAll) and (40+start of Scene in SceneAll). **Exact steps for others to reproduce the error** This bug is show in the attached file. [bug.blend](https://archive.blender.org/developer/F353763/bug.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @rools

Added subscriber: @rools

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-09-06 11:32:08 +02:00

Thanks for the report, but it's quite tricky actually.

Sequencer was never designed to do recursive rendering and this feature was kind of hacked in to support Gooseberry project. Changing the way how it works now will cause regressions. Trying to make it an option will lead to confusion about how to set it all up and everything.

We have quite some design limitations in sequencer, so we'll really have to sit down and think of it's major re-designing. So while the code behaves in the way it was originally designed to (even tho it doesn't met some usecases) considering it a TODO (see [1]).

Hopefully it'll happen in 2.8 branch or maybe some other developer will drop by and pick up the development :)

Thanks for the report, but it's quite tricky actually. Sequencer was never designed to do recursive rendering and this feature was kind of hacked in to support Gooseberry project. Changing the way how it works now will cause regressions. Trying to make it an option will lead to confusion about how to set it all up and everything. We have quite some design limitations in sequencer, so we'll really have to sit down and think of it's major re-designing. So while the code behaves in the way it was originally designed to (even tho it doesn't met some usecases) considering it a TODO (see [1]). Hopefully it'll happen in 2.8 branch or maybe some other developer will drop by and pick up the development :) - [x] https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Editors#Video_Sequencer

Added subscriber: @mardy

Added subscriber: @mardy

Ouch, this is quite annoying, I just hit this bug.

Are there any workarounds? Or should I go into the imported scene and shift it in time to the same position where it's being used in the master scene?

Sergey, I'd be more than willing to write a patch, if you let me know the desired behaviour. About causing regressions, don't blend file contain information on what blender version they were created in? If we had that, then we could correct the behaviour for new projects but keep the old behaviour when loading old projects. Or am I missing some complication?

Ouch, this is quite annoying, I just hit this bug. Are there any workarounds? Or should I go into the imported scene and shift it in time to the same position where it's being used in the master scene? Sergey, I'd be more than willing to write a patch, if you let me know the desired behaviour. About causing regressions, don't blend file contain information on what blender version they were created in? If we had that, then we could correct the behaviour for new projects but keep the old behaviour when loading old projects. Or am I missing some complication?

Sergey, forget my last question; I see that blender files are supposed to be both backward and forward compatible, so we cannot play tricks based on the blender version.

What if we add another checkbox just below the text that now says "Original frame range: " and call it something like "Shift all timings to new range". Well, I'm sure better names can be found, but this is not too bad, IMHO.

Sergey, forget my last question; I see that blender files are supposed to be both backward and forward compatible, so we cannot play tricks based on the blender version. What if we add another checkbox just below the text that now says "Original frame range: <A-B>" and call it something like "Shift all timings to new range". Well, I'm sure better names can be found, but this is not too bad, IMHO.

I've spent some time trying to undestand how this works, and I got something which is more or less working, though for some reason the image in the sequencer sometimes is updated in the wrong way.

Can some blender developer comment on what I'm doing (patch attached)?

I suspect that my approach will fail miserably if the same scene in used twice (at different start times) in another scene, because AFAIU the animations are evaluated only once. What would the correct approach be?

recursive-scene.diff

I've spent some time trying to undestand how this works, and I got something which is more or less working, though for some reason the image in the sequencer sometimes is updated in the wrong way. Can some blender developer comment on what I'm doing (patch attached)? I suspect that my approach will fail miserably if the same scene in used twice (at different start times) in another scene, because AFAIU the animations are evaluated only once. What would the correct approach be? [recursive-scene.diff](https://archive.blender.org/developer/F507749/recursive-scene.diff)
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
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#49261
No description provided.