render_pre callback doesn't fully work for render.border settings #47791
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#47791
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Windows 10 and OSX 10.11.2
Blender Version
Broken: 2.77 (ec99778)
Short description of error
If I set the render border in the
render_pre
callback, the value is not valid for this render. Instead I have to render once again to have it being used.Exact steps for others to reproduce the error
Open this file and render: render_pre.blend, the border will only be "used" the second time you render it
The file simply has the following script (make sure the script runs):
Changed status to: 'Open'
Added subscriber: @dfelinto
Added subscriber: @ideasman42
@ideasman42 is this by design?
Added subscriber: @Sergey
Changed status from 'Open' to: 'Archived'
@dfelinto,
render_pre
handler is called after the main render database is filled in. In order to achieve your goal you should be usingrender_init
handler which is called before the main database is filled in.Thanks for the report, but it's not a bug as far as i concerned.
We could support it, discussion on this patch D1566 covers issues here.
Could you try using the
render_init
callback (this runs before the render border is read from the scene).edit - i see @Sergey replied :), note - that there are multiple settings you might want to edit for rendering and there is some remaining order-of-initialization things going on (why I linked to the diff above).
However seems border-render can be made to work.