Page MenuHome

Drivers with the object.dimension variable are not updated
Confirmed, NormalPublicBUG

Description

Blender Version
Broken: version: 2.83
Worked: (optional)

Short description of error
The bounding box(dimensions) updating with delay in drivers.

Exact steps for others to reproduce the error

  1. Open:
  2. Select the box.
  3. Change the scale of the box.
  4. Select the cylinder.
  5. Go to the modifier properties.
  6. In the "Array modifier" double-click on the drived X-axis to update.
  7. Press out. (The distance between cylinders should update)

So the idea is to update automatically without unnecessary steps.

Also, I create a topic on blenderarist.com with ideas for better driver workflow. Please check them.
Drivers update -topic

Event Timeline

Vasil (FeralMan) updated the task description. (Show Details)
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.EditedJan 22 2020, 1:23 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm.

The file has a dependency cycle with the x dimension of the cylinder. (it is not related to the bug but would be nice to avoid it):

Dependency cycle detected:
  OBCylinder/Parameters Component/DRIVER(modifiers["Array"].constant_offset_displace) depends on
  OBCylinder/Geometry Component/GEOMETRY_EVAL() via 'RNA Target -> Driver'
  OBCylinder/Geometry Component/GEOMETRY_EVAL_INIT() via 'Object Geometry UberEval'
  OBCylinder/Parameters Component/DRIVER(modifiers["Array"].constant_offset_displace) via 'Driver -> Driven Property'
Detected 1 dependency cycles

The problem is not seen in blender 2.79
It is interesting to note that if you add a location variable even without adding to the expression the problem seems to be solved.

Germano Cavalcante (mano-wii) renamed this task from Bounding box delay to Drivers with the object.dimension variable are not updated.Jan 22 2020, 1:26 PM
Germano Cavalcante (mano-wii) updated the task description. (Show Details)