Blender Git Commit Log
Git Commits -> Revision 8c98b16
Revision 8c98b16 by Jorge Bernal (master) April 16, 2015, 04:39 (GMT) |
BGE: Fix for T42341 Sensor.frequency is badly named "Frequency" parameter is renamed to "Skip" in the LogicBricks sensors as it represents skipped frames between pulses. Naming something (frequency) the exact opposite of what it represents (period) was the worst choice. Also, a new BGE python attribute 'skippedTicks' was introduced. 'frequency' attribute is maintained but deprecated. Internally, freq variable is used yet at DNA_Sensor to maintain compability and to avoid do_versions. Thanks to Sybren for the investigation. {F162440} Reviewers: campbellbarton, sybren, moguri, hg1 Reviewed By: sybren, hg1 Differential Revision: https://developer.blender.org/D1229 |
Commit Details:
Full Hash: 8c98b1649d1cee38faff338414d35c87ee0f8c2a
Parent Commit: b466a82
Lines Changed: +52, -20
8 Modified Paths:
/doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst (+8, -2) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_sensor_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+4, -2) (Diff)
/source/gameengine/Converter/KX_ConvertSensors.cpp (+4, -4) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.cpp (+28, -6) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.h (+5, -3) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+1, -1) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_sensor_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+4, -2) (Diff)
/source/gameengine/Converter/KX_ConvertSensors.cpp (+4, -4) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.cpp (+28, -6) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.h (+5, -3) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+1, -1) (Diff)