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:
authorDalai Felinto <dfelinto@gmail.com>2010-03-26 10:21:48 +0300
committerDalai Felinto <dfelinto@gmail.com>2010-03-26 10:21:48 +0300
commit3925f58b6a9b0a2c49ce6d0e3534542a4975139b (patch)
treedae153bac06c8ba95f2e77a3a85904d5909c4d62 /source/gameengine/PyDoc
parented035bca5a80f5088766947cb87c404df453e449 (diff)
BGE: fix for [#21180] - missing min and max values in the API + mode fix (interval wasn't working)
of course it wasn't only a matter of adding the properties in the api :) The code of validValueForIntervalProperty and modeChange are the same BUT in the future they shouldn't be, for I think it's fine to keep them as separated functions. Bonus fix: Also we are now checking if the new mode is interval and update the range expression.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/GameTypes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/GameTypes.py b/source/gameengine/PyDoc/GameTypes.py
index cae1b875a1b..7ecae944324 100644
--- a/source/gameengine/PyDoc/GameTypes.py
+++ b/source/gameengine/PyDoc/GameTypes.py
@@ -5152,6 +5152,10 @@ class SCA_PropertySensor(SCA_ISensor):
@type propName: string
@ivar value: the value with which the sensor compares to the value of the property.
@type value: string
+ @ivar min: the minimum value of the range used to evaluate the property when in interval mode.
+ @type min: string
+ @ivar max: the maximum value of the range used to evaluate the property when in interval mode.
+ @type max: string
"""
#{ Deprecated
def getType():