Page MenuHome

Scene Full Copy: Cameras bound to markers does not update
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-04-30 22:49, hash: rB480a09a92f7f
Worked: (optional)

Short description of error
Not sure if this is bug or intentional behavior.

On a scene with markers bound to cameras, the marker cameras are still bound to cameras in original scene. Can lead to user confusion (it did for me) where the other scene camera is still usable for viewing, but obviously the camera animation changes made in the copied scene do not have any visible effect.

I note that this behavior is unlike full copy without camera bound to marker. In that case the newly created (copied) camera is selected as active in Scene tab.

Exact steps for others to reproduce the error
Default startup scene
Add extra camera
animate camera change (bind camera to marker at frame 1 and camera.001 at frame X)
New scene / Full Copy
Note 2 new cameras created in copy but markers are still bound to original scene cameras.

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.May 7 2019, 2:10 PM

Could you attach a .blend file so we can simply open it up and do a scene copy and see the issue?

Attached requested simple blend file. Scene has 2 animated cameras, with camera change at frame 25.

Select camera view (Numpad 0) Play animation and see rotation of camera and camera swap

To reproduce issue:
"Add new scene by type" button, Full Copy
Newly created scene has 2 new cameras, fully copied with animation.
Select camera view and play animation. view is from original scene cameras not animated.

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Confirmed, Medium.

@Bastien Montagne (mont29): BKE_scene_copy_data just copies the list, see BLI_duplicatelist(&(sce_dst->markers), &(sce_src->markers));

Not sure if we have a quick means to remap the cameras for the new list?
Or if we even consider this a bug? (sure would be nice to have...)

I'll check, but that's likely a bug (like a missing relation in the library_query file or something similar).