[Bf-blender-cvs] [91b9f99f04a] soc-2020-greasepencil-curve: Clang formatting
Falk David
noreply at git.blender.org
Mon Jul 13 11:37:00 CEST 2020
Commit: 91b9f99f04a7f0deee56dc04c2537221f20c6e8e
Author: Falk David
Date: Sat Jul 11 20:43:29 2020 +0200
Branches: soc-2020-greasepencil-curve
https://developer.blender.org/rB91b9f99f04a7f0deee56dc04c2537221f20c6e8e
Clang formatting
===================================================================
M source/blender/editors/gpencil/gpencil_data.c
M source/blender/editors/gpencil/gpencil_select.c
M source/blender/makesrna/intern/rna_access_internal.h
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index e4edb83eb50..d3fc3aced97 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1465,7 +1465,7 @@ static int gpencil_stroke_arrange_exec(bContext *C, wmOperator *op)
default:
BLI_assert(0);
break;
- changed = true;
+ changed = true;
}
}
BLI_freelistN(&selected);
@@ -1659,7 +1659,7 @@ static int gpencil_material_lock_unsused_exec(bContext *C, wmOperator *UNUSED(op
}
}
}
-
+
if (changed) {
/* updates */
DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY);
@@ -3361,7 +3361,7 @@ static int gpencil_set_active_material_exec(bContext *C, wmOperator *op)
}
GP_EDITABLE_STROKES_END(gpstroke_iter);
}
-
+
/* notifiers */
if (changed) {
WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL);
diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c
index 6e7192f059c..d348b849f5b 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -1589,7 +1589,7 @@ static int gpencil_box_select_exec(bContext *C, wmOperator *op)
if (is_curve_edit) {
return gpencil_editcurve_box_select_exec(C, op, gpd);
}
-
+
struct GP_SelectBoxUserData data = {0};
WM_operator_properties_border_to_rcti(op, &data.rect);
rcti rect = data.rect;
diff --git a/source/blender/makesrna/intern/rna_access_internal.h b/source/blender/makesrna/intern/rna_access_internal.h
index ecc9386ca77..7d8fff21862 100644
--- a/source/blender/makesrna/intern/rna_access_internal.h
+++ b/source/blender/makesrna/intern/rna_access_internal.h
@@ -30,8 +30,8 @@ struct PropertyRNAOrID;
PropertyRNA *rna_ensure_property(PropertyRNA *prop);
void rna_property_rna_or_id_get(PropertyRNA *prop,
- PointerRNA *ptr,
- PropertyRNAOrID *r_prop_rna_or_id);
+ PointerRNA *ptr,
+ PropertyRNAOrID *r_prop_rna_or_id);
void rna_idproperty_touch(struct IDProperty *idprop);
struct IDProperty *rna_idproperty_find(PointerRNA *ptr, const char *name);
More information about the Bf-blender-cvs
mailing list