is_updated is not set by modifier changes #44506
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#44506
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?
is_updated is not set by modifier changes update_bug.blend
Open the file and terminal
Run the script (prints 'UPDATED. YEEE!' when object is_updated)
Try changing array modifier count and nothing will be printed on the terminal
OS X 10.9.5
Blender 2.74
Changed status to: 'Open'
Added subscriber: @aivanis
Added subscribers: @Sergey, @ideasman42, @mont29
Not quite sure there is any bug here… is_updated is just an internal state meaning that some data (object in this case) update is pending, if update happens before your callback is called, the flag is cleared and you “detect” nothing.
Adding Sergey and Campbell as CCs here, they know that code much better than me…
I'm not sure if this is right, but according to the wiki for the implementation of is_updated this should work
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/UpdateAPI
It makes sense that modifiers set objects is_updated as they don't have separate is_updated variable, otherwise you can't detect a change in modifier.
Changed status from 'Open' to: 'Archived'
Ok, it's actually simple one :) And it's not a bug.
In blender we've got separate concept "object is modified" (which includes transform, parneting etc) and "object data is modified" (which includes geometry). When you're changing modifier's settings you\re only affecting on geometry data, object transform stays the same. Which makes objects to be tagged for only update data.
To catch those changes you can check for
if object.is_updated or object.is_updated_data
.So thanks for the report, but it actually works as expected.