diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_sensor.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sensor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sensor.c b/source/blender/makesrna/intern/rna_sensor.c index c992f4dd57d..e04e78f3ac7 100644 --- a/source/blender/makesrna/intern/rna_sensor.c +++ b/source/blender/makesrna/intern/rna_sensor.c @@ -211,7 +211,7 @@ static void rna_Sensor_keyboard_modifier2_set(struct PointerRNA *ptr, int value) ks->qual2 = 0; } -static void rna_Sensor_tap_set(struct PointerRNA *ptr, int value) +static void rna_Sensor_tap_set(struct PointerRNA *ptr, bool value) { bSensor *sens = (bSensor *)ptr->data; @@ -220,7 +220,7 @@ static void rna_Sensor_tap_set(struct PointerRNA *ptr, int value) sens->level = 0; } -static void rna_Sensor_level_set(struct PointerRNA *ptr, int value) +static void rna_Sensor_level_set(struct PointerRNA *ptr, bool value) { bSensor *sens = (bSensor *)ptr->data; |