Inaccuracy in 'Info' editor #61525
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#61525
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?
This bug is difficult to describe specifically, since I have no idea of all of the affected properties. All I noticed is that some are reported inaccurately (i.e. the reported rna path does not exist or does not point to the changed property).
A few I found are on the View Layer tab in the Properties editor:
bpy.context.scene.view_layers- [x].cycles.denoising_store_passes
is reported asbpy.context.scene.denoising_store_passes
bpy.context.scene.view_layers- [x].cycles.pass_debug_render_time
is reported asbpy.context.scene.pass_debug_render_time
bpy.context.scene.view_layers- [x].cycles.use_pass_volume_direct
is reported asbpy.context.scene.use_pass_volume_direct
bpy.context.scene.view_layers- [x].cycles.use_pass_volume_indirect
is reported asbpy.context.scene.use_pass_volume_indirect
Plus all of the Cryptomatte and Denoising properties.
I have no idea how the Info editor receives this information, but it looks as if the message is partially hard-coded and not up to date?
Added subscriber: @frameshift
#62610 was marked as duplicate of this issue
Added subscriber: @lichtwerk
Can confirm, there are a couple of these, will have a look...
Added subscribers: @mont29, @ideasman42, @brecht
This path resolution seems to fail if a
PointerProperty
with a PropertyGroup is defined on anything else than a real ID.So in the case of cycles, it defines a couple of these [search for
.cycles = PointerProperty(
]It is fine for
Scene
,Camera
,Material
,Light
,World
,Mesh
,Curve
,MetaBall
,Object
, but it fails forViewLayer
We then get into trouble resolving the path in
RNA_path_from_ID_to_struct
/rna_path_from_ID_to_idpgroup
When trying to find the needle in the haystack, the haystack will only consist of IDProps of the
Scene
haystack = RNA_struct_idprops(&id_ptr, false);
(so it wont look in
Viewlayer
)Instead the haystack should probably go over Scenes properties recursively?
Also not sure if the property defined in
BPy_PointerProperty
should have->nested
applied somehow in case parent is not a real ID?Maybe I could dive deeper, but before doing so, I would like to get some feedback from @ideasman42 , @brecht or @mont29 if I am on the right track here...
(will also assign to @ideasman42 since he wrote the original haystack thingie...)
Added subscribers: @HenriHebeisen, @JacquesLucke