Cleanup: clang-format

This commit is contained in:
Brecht Van Lommel 2019-09-26 14:37:30 +02:00
parent e56f71d03f
commit b07db54cad
2 changed files with 7 additions and 14 deletions

View File

@ -574,8 +574,8 @@ static bPoseChannel *pose_bone_do_paste(Object *ob,
}
/* only loc rot size
* - only copies transform info for the pose
*/
* - only copies transform info for the pose
*/
copy_v3_v3(pchan->loc, chan->loc);
copy_v3_v3(pchan->size, chan->size);
pchan->flag = chan->flag;
@ -674,9 +674,9 @@ static bPoseChannel *pose_bone_do_paste(Object *ob,
if (chan->prop) {
if (pchan->prop) {
/* if we have existing properties on a bone, just copy over the values of
* matching properties (i.e. ones which will have some impact) on to the
* target instead of just blinding replacing all [
*/
* matching properties (i.e. ones which will have some impact) on to the
* target instead of just blinding replacing all [
*/
IDP_SyncGroupValues(pchan->prop, chan->prop);
}
else {

View File

@ -3871,15 +3871,8 @@ void MESH_OT_knife_cut(wmOperatorType *ot)
RNA_def_enum(ot->srna, "type", knife_items, KNIFE_EXACT, "Type", "");
/* internal */
RNA_def_int(ot->srna,
"cursor",
WM_CURSOR_KNIFE,
0,
WM_CURSOR_NUM,
"Cursor",
"",
0,
WM_CURSOR_NUM);
RNA_def_int(
ot->srna, "cursor", WM_CURSOR_KNIFE, 0, WM_CURSOR_NUM, "Cursor", "", 0, WM_CURSOR_NUM);
}
/** \} */