Temporarily disabled some 3D data transfer code due to cross-platform differences in wxFileDialog

This commit is contained in:
Cirilo Bernardo 2016-01-23 20:36:39 +11:00
parent 31af6d7dbc
commit 20f97f34c3
1 changed files with 5 additions and 0 deletions

View File

@ -477,6 +477,10 @@ void PANEL_PREV_3D::GetModelData( S3D_INFO* aModel )
if( NULL == aModel )
return;
// XXX - due to cross-platform differences in wxWidgets,
// extracting scale/rotation/offset will be useless until
// the preview panel can be made to work in wxFileDialog
/*
SGPOINT scale;
SGPOINT rotation;
SGPOINT offset;
@ -486,6 +490,7 @@ void PANEL_PREV_3D::GetModelData( S3D_INFO* aModel )
aModel->scale = scale;
aModel->offset = offset;
aModel->rotation = rotation;
//*/
// return if we are not in file selection mode
if( NULL == m_FileDlg )