Cleanup: Make format
This commit is contained in:
@@ -3820,7 +3820,7 @@ static int edbm_shape_propagate_to_all_exec(bContext *C, wmOperator *op)
|
||||
|
||||
if (tot_selected_verts_objects == 0) {
|
||||
if (!tot_locked) {
|
||||
BKE_report(op->reports, RPT_ERROR, "No selected vertex");
|
||||
BKE_report(op->reports, RPT_ERROR, "No selected vertex");
|
||||
}
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,9 @@ static void createTransCurveVerts(bContext * /*C*/, TransInfo *t)
|
||||
int count_pt = 0, countsel_pt = 0;
|
||||
|
||||
/* Avoid editing locked shapes. */
|
||||
if (t->mode != TFM_DUMMY && ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports)) {
|
||||
if (t->mode != TFM_DUMMY &&
|
||||
ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,9 @@ static void createTransLatticeVerts(bContext * /*C*/, TransInfo *t)
|
||||
const bool is_prop_connected = (t->flag & T_PROP_CONNECTED) != 0;
|
||||
|
||||
/* Avoid editing locked shapes. */
|
||||
if (t->mode != TFM_DUMMY && ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports)) {
|
||||
if (t->mode != TFM_DUMMY &&
|
||||
ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -1503,7 +1503,9 @@ static void createTransEditVerts(bContext * /*C*/, TransInfo *t)
|
||||
TransMeshDataCrazySpace crazyspace_data = {};
|
||||
|
||||
/* Avoid editing locked shapes. */
|
||||
if (t->mode != TFM_DUMMY && ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports)) {
|
||||
if (t->mode != TFM_DUMMY &&
|
||||
ED_object_edit_report_if_shape_key_is_locked(tc->obedit, t->reports))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user