Regression: Can no longer set evaluated data in python for attributes #113621
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#113621
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
Operating system: win 11
Graphics card: Nvidia 3060
Blender Version
Broken: 4.1
Worked:4.0
Short description of error
using a modal operator or upbge in the past - if we set evaluated attributes they would propigate into a sim
allowing interaction - now it's now working.
Exact steps for others to reproduce the error
start timeline to run sim - start modal and left click
in 4.0 the particle moves - not in 4.1
The script doesn't seem to work in 4.0 here either.
With cube selected I get:
the cube is a single vertex on the scene (not the empty)
here it is working in LTS 3.6
space bar to start sim - click modal operator - left click to push - 'Run' will appear in bottom of screen when it 'pushes'
@iss can we poke the simulation module*
Ah somehow I missed instruction to start playback... I can confirm script working in 3.6. From looking at the code and node setup it looks, like it should work, so will confirm.
Why you try to write data to evaluated object? This will be deleted and re evaluated on next update call.
to interact with running simulation using a modal operator or to use py to basically run a sim yourself and cache it.
I use UPBGE at the moment instead of a modal operator but the concept is the same.
(this scene is not using bullet physics at all* I am using geometry nodes)
we have openXR for input and the modal system now*
Can no longer set evaluated data in python for attributesto Regression: Can no longer set evaluated data in python for attributesin a sim - the evaluated data from this frame becomes the initial values for the next frame @mod_moder
This is most likely a change from
34b4487844
.The fact that you could write to an evaluated geometry and change the original was a bug though, so this is expected.
Thanks anyway for the report.
Since input is not wrapped - I wrapped it myself and now that is gone.
now we have no way to interact with a running sim in a modal operator
(I guess we can set inputs on another mesh - but I am back to workarounds.....)
For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug
functionality that existed was removed.
it was a bug*
a feature was removed that was working between versions without discussion - this is a regression*
I have a resolution - perhaps only use evaluated attributes if the evaluated object is tagged to be used
eval_ob.update_tag()
bpy.types.ID.update_tag *
@ideasman42 / py module owner - do we not want I/O from python to simulations?
can we just merge this and close it into #112150 ??
@JacobMerrill-1 : this is already referenced from #112150
I will tag it as a duplicate as well, but for gitea, there will be no "real" connection between the two reports other than the reference that is already there...)
This is not a duplicate of #112150, they are unrelated.
Ah, eh... yeah, not a duplicate. Coffee, please :)
#111514 says that #112150 is the fix for this is - how is that unrelated @HooglyBoogly ?