`t-val` and `t->loc` can share same pointer, as long as `t->loc` is 3D. This partially reverts 9dcf73c715
9dcf73c715