diff --git a/indra/newview/bdfloaterposer.cpp b/indra/newview/bdfloaterposer.cpp
index 122a94e2a2f03d9af76c4b0e90032970a72456e5..f36975d88409e7239460ca42457122e033036d54 100644
--- a/indra/newview/bdfloaterposer.cpp
+++ b/indra/newview/bdfloaterposer.cpp
@@ -1198,8 +1198,8 @@ void BDFloaterPoser::onJointRotPosScaleReset()
 					{
 						LLQuaternion quat;
 						LLScrollListCell* col_rot_x = item->getColumn(COL_ROT_X);
-						LLScrollListCell* col_rot_y = item->getColumn(COL_ROT_X);
-						LLScrollListCell* col_rot_z = item->getColumn(COL_ROT_X);
+						LLScrollListCell* col_rot_y = item->getColumn(COL_ROT_Y);
+						LLScrollListCell* col_rot_z = item->getColumn(COL_ROT_Z);
 
 						col_rot_x->setValue(0.000f);
 						col_rot_y->setValue(0.000f);
@@ -1500,8 +1500,8 @@ void BDFloaterPoser::onJointRotationRevert()
 				LLVector3 rot;
 				quat.getEulerAngles(&rot.mV[VX], &rot.mV[VY], &rot.mV[VZ]);
 				LLScrollListCell* col_rot_x = item->getColumn(COL_ROT_X);
-				LLScrollListCell* col_rot_y = item->getColumn(COL_ROT_X);
-				LLScrollListCell* col_rot_z = item->getColumn(COL_ROT_X);
+				LLScrollListCell* col_rot_y = item->getColumn(COL_ROT_Y);
+				LLScrollListCell* col_rot_z = item->getColumn(COL_ROT_Z);
 
 				col_rot_x->setValue(rot.mV[VX]);
 				col_rot_y->setValue(rot.mV[VY]);