Regression: Blender doesn't allow to animate any Colormanagement setting (e.g. Exposure) #97003
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#97003
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Manjaro
Graphics card: RTX 3060
Blender Version
Broken: 3.1.2, 3.2.0
Worked: 3.0.1, 2.93.7
Caused by
35aedd87e7
I can't animate the Exposure parameter. If it has at least one keyframe, Blender will reset it every time when I try to change the value.
The issue was not noticed in 2.93.7.
2022-04-03 19-59-42.mp4
Reason: when Colormanagement settings change, the scene is tagged
DEG_id_tag_update(id, 0);
which then triggersdeg_graph->tag_time_source();
since35aedd87e7
Added subscriber: @Mapper720-4
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm, will check
Added subscriber: @ideasman42
Caused by
35aedd87e7
CC @ideasman42
Blender doesn't allow to animate the Exposure parameterto Regression: Blender doesn't allow to animate the Exposure parameterRegression: Blender doesn't allow to animate the Exposure parameterto Regression: Blender doesn't allow to animate any Colormanagement setting (e.g. Exposure)Added subscriber: @Sergey
As said in the description: main problem is tagging a scene so generally with
DEG_id_tag_update(id, 0)
@ideasman42 suggested
DEG_id_tag_update(id, ALL & ~ID_RECALC_FRAME_CHANGE)
, or figuring out what colormanagement settings really need to be updating (maybe add a new flag).There is also many more occasions of this tagging the scene.
@Sergey: opinions?
In the very middle of something else now..
Does the P2882: (An Untitled Masterwork)
fix the problem?
Yes, and that would also take care of #97028 (Audio scrubbing plays current frame when changing any color management setting.) it seems
@lichtwerk You fine having an honors of typing commit message and pushing it? :)
Form the legacy-zero perspective FRAME_CHANGE is not different from ANIMATION: is not supposed to be tagging for anything which involves animation re-evaluation.
Could do, but prefer to carefully go over the occurrances of scene being tagged legacyzero that possibly rely on this (even if falsely so).
Meaning: check if the formerly
ID_RECALC_AUDIO_SEEK
(nowID_RECALC_FRAME_CHANGE
) was not expected to be "included" in legacyzeroRegarding changes to
deg_recalc_flags_for_legacy_zero
(I was testing this before noticing the updates to this task).As far as I can see none of the callers to
DEG_id_tag_update(&scene->id, 0)
should be relying on audio-seeking (ID_RECALC_FRAME_CHANGE) being set. Mostly this relates to changes to view layers as well as scene quality settings & freestyle modifiers.Further, we could consider having the define for legacy flags along side other defines P2884 while there is a benefit in keeping them private/localized, it means it's easy to accidentally overlook the fact new flags are implicitly included for all callers that pass in zero to
DEG_id_tag_update
. OTOH, these flags kinds of flags are not added regularly, so this could be noted in the comments, e.g. P2885.Thx checking, @ideasman42 .
Seems this is in good hands, please go ahead with committing etc.
@ideasman42, Going away from using 0 as a tag is a nice goal, but the proposed in P2884 way is wrong. The
deg_recalc_flags_for_legacy_zero
is an internal function which is used by a branch ofDEG_id_tag_update
which handles 0 flag given to it.It is also bad idea to tag for everything. The
DEG_id_tag_update
should be given flag corresponding to what was actually changed.@Sergey it makes sense that it's hidden & not used publicly, the outcome of this is that it's easy to accidentally introduce bugs by not including a flag in
deg_recalc_flags_for_legacy_zero
. That's why I'm suggesting some way to make this less likely for this to happen in the future - even if it's to note in a comment that the function should be checked when adding new flags.The proper way to do so is to stop using flag 0.
@Sergey that's fine as a goal, currently there are over 200 instances of this - unless there are near-term plans to remove them (by the next release for e.g) we should document the current state of the code.
Part of the issue is there isn't much incentive to spend time removing these but further discussion about this could happen over chat.
This issue was referenced by
328dfab423
Changed status from 'Confirmed' to: 'Resolved'