Custom Pointer Property doesn't update when rendering animation #72616

Closed
opened 2019-12-21 00:24:37 +01:00 by Amin Babaeipanah · 9 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: blender/blender@26bd5ebd42
Worked: (optional)

Short description of error
We're trying to port our TextCounter Plugin to Blender 2.8x and we've already tried what was recommended in ticket below:
https://developer.blender.org/T71234

But it seems this will be evaluated

 prop_eval = text_eval.data['prop']

and this won't

 prop_eval = text_eval.data.some_pointer_property.prop

Exact steps for others to reproduce the error

  • Install textcounter plugin
    leomoon-textcounter.py
  • Open blend file
    textcounter.blend
  • Play animation and it will update in the view port
  • Render animation and render will be stuck at the frame view port was
**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: `blender/blender@26bd5ebd42` Worked: (optional) **Short description of error** We're trying to port our TextCounter Plugin to Blender 2.8x and we've already tried what was recommended in ticket below: https://developer.blender.org/T71234 But it seems this will be evaluated ``` prop_eval = text_eval.data['prop'] ``` and this won't ``` prop_eval = text_eval.data.some_pointer_property.prop ``` **Exact steps for others to reproduce the error** - Install textcounter plugin [leomoon-textcounter.py](https://archive.blender.org/developer/F8238188/leomoon-textcounter.py) - Open blend file [textcounter.blend](https://archive.blender.org/developer/F8238187/textcounter.blend) - Play animation and it will update in the view port - Render animation and render will be stuck at the frame view port was
Author
Member

Added subscriber: @LeoMoon

Added subscriber: @LeoMoon
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can see the issue. Maybe your script always reads the original, not-evaluated counter variable. I don't know how it exactly works.

In any case, it would be good if you could prepare a very simple script that shows that issue and that is independent of your addon. That makes debugging easier.

I can see the issue. Maybe your script always reads the original, not-evaluated counter variable. I don't know how it exactly works. In any case, it would be good if you could prepare a very simple script that shows that issue and that is independent of your addon. That makes debugging easier.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I dont see anything from blender/blender#71234 (Custom property doesnt update when rendering animation) tried in this version of leomoon-textcounter.py.
Please tell us exactly where this fails with a minimal example script as @JacquesLucke said.

I dont see anything from blender/blender#71234 (Custom property doesnt update when rendering animation) tried in this version of `leomoon-textcounter.py`. Please tell us exactly where this fails with a minimal example script as @JacquesLucke said.
Author
Member

Please don't close this. I'll post a simple script soon.

Thanks.

Please don't close this. I'll post a simple script soon. Thanks.
Author
Member

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Amin Babaeipanah self-assigned this 2019-12-31 08:28:04 +01:00
Author
Member

This problem has been resolved. Was not a Blender bug.

This problem has been resolved. Was not a Blender bug.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#72616
No description provided.