Python render setting commands are incorrect in the Info view #49343
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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-addons#49343
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 applies to at least 2.77a and 2.78rc1
When I change certain render settings using the GUI, the Python command for that render setting shows up in the Info area. However, when I open up a console and try to duplicate these commands, I get the following error:
I haven't done a thorough search for this mismatch, but it's incorrect for the following settings:
bpy.context.scene.file_format
bpy.context.scene.color_depth
bpy.context.scene.color_mode
bpy.context.scene.exr_codec
bpy.context.scene.compression
bpy.context.scene.use_preview
bpy.context.scene.use_zbuffer
Thanks to this stackexchange post , I was able to figure out that the settings actually live in
Changed status to: 'Open'
Added subscriber: @JustinJensen
Added subscriber: @mont29
Note that our code to guess full RNA path is not always working fully… should output a ... in path then, though, to indicate it could not fully resolve it.
ImageFormatSettings were not setting their rna struct path, so a possible fix here D2228: possible fix for #49343
Yeah, I noticed that the tooltips put the '...' in there. However, as this screenshot shows, the Info area doesn't do the '...', so it leads me to believe that the settings are found in bpy.context.scene instead of bpy.context.scene.render.image_settings
This issue was referenced by blender/blender@f64aa4e0af
Changed status from 'Open' to: 'Resolved'