mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Uninitialized variable.
This commit is contained in:
parent
82124c9cef
commit
b67b467483
@ -34,6 +34,7 @@
|
|||||||
DIALOG_EXPORT_3D_IMAGE::DIALOG_EXPORT_3D_IMAGE( wxWindow* aParent, const wxSize& aSize ) :
|
DIALOG_EXPORT_3D_IMAGE::DIALOG_EXPORT_3D_IMAGE( wxWindow* aParent, const wxSize& aSize ) :
|
||||||
DIALOG_SHIM( aParent, wxID_ANY, _( "Export 3D View" ), wxDefaultPosition, wxDefaultSize,
|
DIALOG_SHIM( aParent, wxID_ANY, _( "Export 3D View" ), wxDefaultPosition, wxDefaultSize,
|
||||||
wxDEFAULT_DIALOG_STYLE ),
|
wxDEFAULT_DIALOG_STYLE ),
|
||||||
|
m_format( EDA_3D_VIEWER_EXPORT_FORMAT::PNG ),
|
||||||
m_originalSize( aSize ),
|
m_originalSize( aSize ),
|
||||||
m_width( aSize.GetWidth() ),
|
m_width( aSize.GetWidth() ),
|
||||||
m_height( aSize.GetHeight() ),
|
m_height( aSize.GetHeight() ),
|
||||||
|
@ -71,6 +71,7 @@ private:
|
|||||||
void ConvertSizeUnits( SIZE_UNITS aFromUnit, SIZE_UNITS aToUnit );
|
void ConvertSizeUnits( SIZE_UNITS aFromUnit, SIZE_UNITS aToUnit );
|
||||||
void ConvertResolutionUnits( RESOLUTION_UNITS aFromUnit, RESOLUTION_UNITS aToUnit );
|
void ConvertResolutionUnits( RESOLUTION_UNITS aFromUnit, RESOLUTION_UNITS aToUnit );
|
||||||
|
|
||||||
|
private:
|
||||||
EDA_3D_VIEWER_EXPORT_FORMAT m_format;
|
EDA_3D_VIEWER_EXPORT_FORMAT m_format;
|
||||||
wxSize m_originalSize;
|
wxSize m_originalSize;
|
||||||
int m_width;
|
int m_width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user