diff --git a/rigify/rig_ui_template.py b/rigify/rig_ui_template.py
index c793dadee87a3dc6f721cf0c4f4d84340ac678e2..2f76d8a4c4056aa691a3540d506a84ce7cc0042d 100644
--- a/rigify/rig_ui_template.py
+++ b/rigify/rig_ui_template.py
@@ -54,9 +54,7 @@ def get_pose_matrix_in_other_space(mat, pose_bone):
     # Compensate for non-local location
     #if not pose_bone.bone.use_local_location:
     #    loc = smat.to_translation() * (par_rest.inverted() * rest).to_quaternion()
-    #    smat[3][0] = loc[0]
-    #    smat[3][1] = loc[1]
-    #    smat[3][2] = loc[2]
+    #    smat.translation = loc
 
     return smat