diff options
author | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-06-16 01:05:25 +0300 |
---|---|---|
committer | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-06-16 01:05:25 +0300 |
commit | 6d634467104fc53701d77c7aeb1382a3c198b6d2 (patch) | |
tree | 9212fe9e63a148caa45a79b3c72e532ac35e50df /source/blender | |
parent | 53e3e4633244facb76740a58f1b2b9b6c1e2a00d (diff) |
BGE: Fix for precision lost in setBackground/getBackground at Video Texture
Now internally the variables are processed as floats avoiding int->float->char conversions that are causing precision lost.
A check for int numbers is maintained to keep compatibility with old behaviour.
Reviewers: ben2610, campbellbarton, moguri, hg1
Reviewed By: moguri, hg1
Subscribers: campbellbarton
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1301
Diffstat (limited to 'source/blender')
0 files changed, 0 insertions, 0 deletions