Page MenuHome

Driver not updated when [join] armature
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows 10 Pro for Workstations 21H1 64Bits
Graphics card: NVIDIA GeForce RTX3080

Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: rBdc2d18018171
Worked: (newest version of Blender that worked as expected)

Short description of error
Driver not updated when [join] armature

Exact steps for others to reproduce the error
Prepare an armature ('Armature') and an empty armature ('Armature.001')
to which the driver is connected with the armature internal bone,
and change the driver variable in'Armature' to'Armature.001' with bpy.
Then [join] to'Armature.001'.

Event Timeline

tsubasa takabe (tsubasa) renamed this task from Not updated when reassigning driver variables with bpy. to Driver not updated when [join] armature.Jun 14 2022, 7:36 AM
tsubasa takabe (tsubasa) updated the task description. (Show Details)
Sebastian Parborg (zeddb) changed the task status from Needs Triage to Confirmed.EditedJun 14 2022, 11:16 AM
Sebastian Parborg (zeddb) changed the subtype of this task from "Report" to "Bug".

I can confirm that this issue is still present with the latest master.

After talking with Bastien and Sybren about this, we agree that this is a bug.

The "join armature" operator should trigger a re-evaluation of the drivers so none of them are in an invalid state after joining two armatures.
Otherwise you might get into a situation like this where you have to go in and manually nudge the driver to make it realize that it is valid.