[Bf-blender-cvs] [2a9e3c2] master: Fix incorrect arg type

Campbell Barton noreply at git.blender.org
Thu Mar 24 07:55:32 CET 2016


Commit: 2a9e3c2bdb705d1ef834403d91d33045aa364785
Author: Campbell Barton
Date:   Thu Mar 24 17:56:30 2016 +1100
Branches: master
https://developer.blender.org/rB2a9e3c2bdb705d1ef834403d91d33045aa364785

Fix incorrect arg type

===================================================================

M	source/blender/editors/animation/keyframing.c

===================================================================

diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 0b0a24a..a50924c 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -1777,7 +1777,7 @@ static int insert_key_button_exec(bContext *C, wmOperator *op)
 		else if (UI_but_flag_is_set(but, UI_BUT_DRIVEN)) {
 			/* Driven property - Find driver */
 			FCurve *fcu;
-			int driven, special;
+			bool driven, special;
 			
 			fcu = rna_get_fcurve_context_ui(C, &ptr, prop, index, NULL, NULL, &driven, &special);




More information about the Bf-blender-cvs mailing list