From 617d1235d1f95ded9d21a6db38ec7162de1b4ab8 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 29 Jul 2014 14:09:08 +0200 Subject: [PATCH] Compile fix --- code/nel/tools/3d/object_viewer/main_frame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/nel/tools/3d/object_viewer/main_frame.cpp b/code/nel/tools/3d/object_viewer/main_frame.cpp index 83ba4ef7b..d063e202d 100644 --- a/code/nel/tools/3d/object_viewer/main_frame.cpp +++ b/code/nel/tools/3d/object_viewer/main_frame.cpp @@ -1392,9 +1392,9 @@ void CMainFrame::OnViewSetSceneRotation() if (sceneRotDlg.DoModal() == IDOK) { // read value. - NLMISC::fromString(sceneRotDlg.RotX, _LastSceneRotX); - NLMISC::fromString(sceneRotDlg.RotY, _LastSceneRotY); - NLMISC::fromString(sceneRotDlg.RotZ, _LastSceneRotZ); + _LastSceneRotX= (float)atof(sceneRotDlg.RotX); + _LastSceneRotY= (float)atof(sceneRotDlg.RotY); + _LastSceneRotZ= (float)atof(sceneRotDlg.RotZ); float rotx= degToRad(_LastSceneRotX); float roty= degToRad(_LastSceneRotY); float rotz= degToRad(_LastSceneRotZ);