protected void MoveObject(ctlTextBox var, float x, float y, float z)
 {
     try
     {
         if (UVDLPApp.Instance().SelectedObject == null)
             return;
         float val = var.FloatVal;
         x *= val;
         y *= val;
         z *= val;
         UVDLPApp.Instance().SelectedObject.Translate(x, y, z, true);
         //UVDLPApp.Instance().m_undoer.SaveTranslation(UVDLPApp.Instance().SelectedObject, x, y, z);  // moved to translate function
         //UVDLPApp.Instance().SelectedObject.Update(); // make sure we update                         // moved to translate function
         //ShowObjectInfo();
         UVDLPApp.Instance().RaiseAppEvent(eAppEvent.eUpdateSelectedObject, "updateobject");
     }
     catch (Exception ex)
     {
         DebugLogger.Instance().LogError(ex.Message);
     }
 }
 protected void MoveObject(ctlTextBox var, float x, float y, float z)
 {
     try
     {
         if (UVDLPApp.Instance().SelectedObject == null)
         {
             return;
         }
         float val = var.FloatVal;
         x *= val;
         y *= val;
         z *= val;
         UVDLPApp.Instance().SelectedObject.Translate(x, y, z, true);
         //UVDLPApp.Instance().m_undoer.SaveTranslation(UVDLPApp.Instance().SelectedObject, x, y, z);  // moved to translate function
         //UVDLPApp.Instance().SelectedObject.Update(); // make sure we update                         // moved to translate function
         //ShowObjectInfo();
         UVDLPApp.Instance().RaiseAppEvent(eAppEvent.eUpdateSelectedObject, "updateobject");
     }
     catch (Exception ex)
     {
         DebugLogger.Instance().LogError(ex.Message);
     }
 }