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:
authorCampbell Barton <ideasman42@gmail.com>2009-09-13 12:17:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-13 12:17:22 +0400
commit3a62892a955375b5716f84eab9d0c25c2ea58560 (patch)
treef176f344e2e1f8f7332096e7f344ce96dbb8784e /source/blender/python/api2_2x/Blender.c
parent2951a845b1f40ff11776fbf24bdc0055093f9c49 (diff)
Patch [#19293] NearSensor: Changing distance and resetDistance from Python did not take effect immediately
from Frank Papenmeier (hodka) --- from the submission Changing the distance and resetDistance Properties of a NearSensor from Python did only take effect, once there was a collision within the old radius. Reason: The radius of the PHY_IPhysicsController was not set to the new values. Solution: It is set at the end of the CheckResetDistance function. I moved the relevant code snippet from the Evaluate function into a new function called SetPhysCtrlRadius in order to avoid duplicating code doing the same thing.
Diffstat (limited to 'source/blender/python/api2_2x/Blender.c')
0 files changed, 0 insertions, 0 deletions