Fix 3D Attribute reading