Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Bernal <jbernalmartinez@gmail.com>2015-06-16 01:05:25 +0300
committerJorge Bernal <jbernalmartinez@gmail.com>2015-06-16 01:05:25 +0300
commit6d634467104fc53701d77c7aeb1382a3c198b6d2 (patch)
tree9212fe9e63a148caa45a79b3c72e532ac35e50df /doc/python_api/rst/bge.texture.rst
parent53e3e4633244facb76740a58f1b2b9b6c1e2a00d (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 'doc/python_api/rst/bge.texture.rst')
-rw-r--r--doc/python_api/rst/bge.texture.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.texture.rst b/doc/python_api/rst/bge.texture.rst
index 0c9e9da0661..dde26616e78 100644
--- a/doc/python_api/rst/bge.texture.rst
+++ b/doc/python_api/rst/bge.texture.rst
@@ -218,6 +218,8 @@ When the texture object is deleted, the new texture is deleted and the old textu
background color
+ :type: int or float list [r, g, b, a] in [0.0, 255.0]
+
.. attribute:: capsize
size of render area
@@ -315,6 +317,8 @@ When the texture object is deleted, the new texture is deleted and the old textu
background color
+ :type: int or float list [r, g, b, a] in [0.0, 255.0]
+
.. attribute:: capsize
size of render area