[PY API Documentation] bpy.app.handlers.scene_update_{pre,post} documentation needs clarification #46329
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#46329
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?
Blender Version
Broken: 2.76-rc2
Short description of error
The documentation for the
bpy.app.handlers.scene_update_{pre,post}
handlers states that they're called "on updating the scenes data". However, they're called even when the data hasn't changed. Of course such handlers are useful, but the documentation should reflect the current behaviour. I would suggest something along the lines of:Exact steps for others to reproduce the error
Open the attached blend file test-scene-update-handler.blend, run the script, inspect the console. Even though nothing changes in the scene, the callback is called 200+ times a second (at least on my machine).
Changed status to: 'Open'
Added subscriber: @dr.sybren
bpy.app.handlers.scene_update_{pre,post} documentation needs clarificationto [PY API Documentation] bpy.app.handlers.scene_update_{pre,post} documentation needs clarificationAdded subscriber: @mont29
Mmmmh… not quite sure I agree here, “scene update” does not mean “scene change”… Let’s see what @ideasman42 says here. :)
I was thinking about something along the lines of D1535.
Added subscriber: @ideasman42
@dr.sybren just go ahead and commit, find the new version a bit verbose, but those two hooks can indeed be confusing… :|
This issue was referenced by blender/blender@01ee88563b
Changed status from 'Open' to: 'Resolved'