Maniphest T66378

VIEW LAYER'S keygramed".use" property does not refresh sometimes while rendering (both F12 and ctrl+F12)
Closed, Resolved

Assigned To
Sergey Sharybin (sergey)
Authored By
Marko Radosavljevic (MarkoR)
Jul 3 2019, 3:04 PM
Tags
  • BF Blender
Subscribers
Bastien Montagne (mont29)
Germano Cavalcante (mano-wii)
Marko Radosavljevic (MarkoR)
Sergey Sharybin (sergey)

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-02 08:05, hash: rB10b694877b10
Worked: (optional)

Short description of error
WHEN VIEW LAYER'S .use IS KEYFRAMED, THERE IS NO PROPER REFRESH BEFORE THE RENDERING, SO VIEW LAYERS WHICH MIGHT BE ANIMATED TO BE OFF COULD RENDER
view_layers["name_of_layer]"].use

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Revisions and Commits

rB Blender
D5332

Event Timeline

Marko Radosavljevic (MarkoR) created this task.Jul 3 2019, 3:04 PM
Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to 30.Jul 3 2019, 3:45 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

Please follow our submission template and guidelines to make a valid bug report.
We require a .blend file and steps to reproduce the problem.

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.Jul 23 2019, 5:35 PM
Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).

And please do not write in ALL CAPS!!!

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.

Marko Radosavljevic (MarkoR) added a comment.Jul 23 2019, 7:40 PM

Sorry for the caps, first time reporting a bug :)
Video in the link below, blend file attached, RC2 version


(In a complex scene, sometimes different layers are rendered, difficult to attach such a file, but in general refresh is the issue which is clear in this simple example)
https://youtu.be/1Ny4AC1tpMQ

Bastien Montagne (mont29) changed the task status from Archived to Unknown Status.Jul 23 2019, 7:51 PM
Bastien Montagne (mont29) removed Bastien Montagne (mont29) as the assignee of this task.
Bastien Montagne (mont29) raised the priority of this task from 30 to 80.
Bastien Montagne (mont29) added a subscriber: Sergey Sharybin (sergey).

Thanks for the file.

@Sergey Sharybin (sergey) maybe there is a missing depsgraph update here? But also, that file disables all renderlayers at the same time, which means render could not happen, I guess then it keeps last enabled layer instead?

Marko Radosavljevic (MarkoR) added a comment.Jul 24 2019, 3:17 AM
In T66378#732632, @Bastien Montagne (mont29) wrote:

"that file disables all renderlayers at the same time"
If I might point out that there is always one render layer enabled while the other is disabled (no two layers enabled or disabled at the same time, but alternating) Refresh and therefore ability to render is sometimes broken, so I think that is the reason of confusion - see 49 second video, first time render is not working and second time after clicking on the timeline it renders fine, while no options are changed: https://youtu.be/1Ny4AC1tpMQ )

Bastien Montagne (mont29) added a comment.Jul 24 2019, 8:16 AM

Ah you are right, sorry… So the active view layer (in the scene) updates as expected, but the inactive one doesn’t…

Sergey Sharybin (sergey) lowered the priority of this task from 80 to 50.Jul 24 2019, 12:44 PM
Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved by committing rB1693a5efe919: Fix T66378: Missing animation update when switching view layer.Jul 26 2019, 10:32 AM
Sergey Sharybin (sergey) claimed this task.
Sergey Sharybin (sergey) added a commit: rB1693a5efe919: Fix T66378: Missing animation update when switching view layer.