|
|
Am 31.07.2018 um 23:49 schrieb hugo giulietti:
>
> Confirmed using /usr/share/qtpovray-3.8/include/colors.inc
>
> The message does appear and say :
>
> Statistics Stream to console....On
> Warning Stream to console.......On
> version in colors.inc is 3,00
So you currently have
#version 3.5;
#debug concat("version in colors.inc is ",str(version,0,2),"\n")
in that `colors.inc`, right?
Then that's certainly a bug. Somehow the `#version` statement fails to
set the correct effective language version.
I also notice that the debug message says `3,00`, rather than `3.00`. Is
that a typo, or is that in the actual message?
In the latter case, that's another bug.
Oh, can you please try the following in an empty .pov file:
#declare Foo = 3.14;
#declare Bar = 314/100;
#debug concat("Foo is ", str(Foo,0,2), "\n")
#debug concat("Bar is ", str(Bar,0,2), "\n")
This /should/ output
Foo is 3.14
Bar is 3.14
but I have a hunch that it might output
Foo is 3,00
Bar is 3,14
in which case I guess I know what the problem may be.
Say, your name sounds italian, and in Italy they normally use commas as
decimal separators (just as they do here in Germany), right?
@dick: Are you actively changing the C/C++ locale in qtpovray, or do you
happen to know whether Qt does so by default? (buzzword `setlocale`)
Post a reply to this message
|
|