Fix compilation after the qreal->float change in Math3D
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 12 Sep 2012 10:29:25 +0000 (12:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Sep 2012 10:35:45 +0000 (12:35 +0200)
commit1450569eb1789985f67d29ee2cf1cafc3612854b
treedddce735e25a80e971d6a146e82e285ef5763424
parentd62b1c5213290644670e9d5fbf9b3f42c82c64a9
Fix compilation after the qreal->float change in Math3D

QVector3D::length() returns float now, so this qBound call was running
into template substitution failure.

Change-Id: Ib03ab96bf18a4b04fa80a8f706761329faab2541
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/imports/audioengine/qdeclarative_attenuationmodel_p.cpp