svn merge ^/trunk/blender -r46750:HEAD
[blender-staging.git] / source / blender / editors / object / object_ops.c
index 986a294d065914c07f8adbe6e315b77988806b24..afc493f66f955f21bd4109e251ec446be0517403 100644 (file)
@@ -430,7 +430,7 @@ void ED_object_generic_keymap(struct wmKeyConfig *UNUSED(keyconf), struct wmKeyM
                RNA_string_set(kmi->ptr, "data_path", "tool_settings.proportional_edit_falloff");
 
                // Object mode
-               if (do_pet == 1) {
+               if (do_pet == TRUE) {
 
                        kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", OKEY, KM_PRESS, 0, 0);
                        RNA_string_set(kmi->ptr, "data_path", "tool_settings.use_proportional_edit_objects");