Maniphest T72616

Custom Pointer Property doesn't update when rendering animation
Closed, Resolved

Assigned To
Amin Babaeipanah (leomoon)
Authored By
Amin Babaeipanah (leomoon)
Dec 21 2019, 12:24 AM
Tags
  • BF Blender
  • Add-ons (BF-Blender)
  • Dependency Graph
Subscribers
Amin Babaeipanah (leomoon)
Jacques Lucke (JacquesLucke)
Philipp Oeser (lichtwerk)

Description

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: rB26bd5ebd42e3
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

  • Open blend file

  • Play animation and it will update in the view port
  • Render animation and render will be stuck at the frame view port was

Event Timeline

Amin Babaeipanah (leomoon) created this task.Dec 21 2019, 12:24 AM
Amin Babaeipanah (leomoon) updated the task description.Dec 24 2019, 6:10 AM
Germano Cavalcante (mano-wii) added a project: Add-ons (BF-Blender).Dec 27 2019, 4:08 PM
Jacques Lucke (JacquesLucke) changed the task status from Needs Triage to Needs Information from User.Dec 29 2019, 1:26 PM
Jacques Lucke (JacquesLucke) added a project: Dependency Graph.
Jacques Lucke (JacquesLucke) added a subscriber: Jacques Lucke (JacquesLucke).

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.

Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Dec 29 2019, 1:43 PM

I dont see anything from T71234: 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 @Jacques Lucke (JacquesLucke) said.

Amin Babaeipanah (leomoon) added a comment.EditedDec 29 2019, 7:11 PM

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

Thanks.

Amin Babaeipanah (leomoon) closed this task as Resolved.Dec 31 2019, 8:28 AM
Amin Babaeipanah (leomoon) claimed this task.

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