- use defines for wmKeyMapItem & wmEvent alt/shift/ctrl/oskey
[blender.git] / source / blender / editors / physics / particle_edit.c
index 740fd5137dead728c7c8c6eac6fa1c08e4f0c4b2..c0b81efe18cd2c55eca5e79a9d592b55f661ec56 100644 (file)
@@ -3700,7 +3700,7 @@ static void brush_edit_apply_event(bContext *C, wmOperator *op, wmEvent *event)
        RNA_collection_add(op->ptr, "stroke", &itemptr);
 
        RNA_float_set_array(&itemptr, "mouse", mouse);
-       RNA_boolean_set(&itemptr, "pen_flip", event->shift != 0); // XXX hardcoded
+       RNA_boolean_set(&itemptr, "pen_flip", event->shift != FALSE); // XXX hardcoded
 
        /* apply */
        brush_edit_apply(C, op, &itemptr);