Is that the attachedNode setter wrong?

Is it because of the previous implementation that boundingBoxGizmo only works with meshes?Like the doc said: