Fix default value for a export scale factor.
(cherry picked from commit 1f310c2c2c
)
This commit is contained in:
parent
ddd4d735e8
commit
e2ef71faf6
|
@ -412,7 +412,7 @@ bool VCommandLine::IsCSVWithHeader() const
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
qreal VCommandLine::ExportXScale() const
|
qreal VCommandLine::ExportXScale() const
|
||||||
{
|
{
|
||||||
qreal xs = 0;
|
qreal xs = 1;
|
||||||
if (IsOptionSet(LONG_OPTION_EXPXSCALE))
|
if (IsOptionSet(LONG_OPTION_EXPXSCALE))
|
||||||
{
|
{
|
||||||
xs = OptionValue(LONG_OPTION_EXPXSCALE).toDouble();
|
xs = OptionValue(LONG_OPTION_EXPXSCALE).toDouble();
|
||||||
|
@ -423,7 +423,7 @@ qreal VCommandLine::ExportXScale() const
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
qreal VCommandLine::ExportYScale() const
|
qreal VCommandLine::ExportYScale() const
|
||||||
{
|
{
|
||||||
qreal ys = 0;
|
qreal ys = 1;
|
||||||
if (IsOptionSet(LONG_OPTION_EXPYSCALE))
|
if (IsOptionSet(LONG_OPTION_EXPYSCALE))
|
||||||
{
|
{
|
||||||
ys = OptionValue(LONG_OPTION_EXPYSCALE).toDouble();
|
ys = OptionValue(LONG_OPTION_EXPYSCALE).toDouble();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user