I already sent this to the qt3d mailing list, but nobody reacts on this list
(maybe due to the Bisbane situation):
qglsection.cpp contains the following lines in the method
QGLSectionPrivate::mapVertex:
static bool seeded = false;
if (!seeded)
qsrand(31415);
This makes the random number generator not very random!
The tank example uses the usual qsrand(time(0)) which is superseded by
qsrand(31415).
Therefore the colors are always the same, when one starts the programs.
I think these lines can and should be removed.
I have no(t yet) access to gerrit, so could someone push this change?
Thank you
--
Helmut Mülner
DIGITAL - Institute of Information and Communication Technologies
JOANNEUM RESEARCH Forschungsgesellschaft mbH
Steyrergasse 17, 8010 Graz, AUSTRIA
phone: +43-316-876-2612
general fax: +43-316-876-1191
web: http://www.joanneum.at/digital
e-mail: helmut.mü[email protected]<mailto:helmut.mü[email protected]>
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development