Blender Git Commit Log

Git Commits -> Revision 6d63446

Revision 6d63446 by Jorge Bernal (master)
June 15, 2015, 22:05 (GMT)
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

Commit Details:

Full Hash: 6d634467104fc53701d77c7aeb1382a3c198b6d2
Parent Commit: 53e3e46
Lines Changed: +31, -20

3 Modified Paths:

/doc/python_api/rst/bge.texture.rst (+4, -0) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+25, -18) (Diff)
/source/gameengine/VideoTexture/ImageRender.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021