Animation: Armature symmetrize ebones refactor #106487
|
@ -1189,7 +1189,6 @@ static int armature_symmetrize_exec(bContext *C, wmOperator *op)
|
|||
}
|
||||
|
||||
/* Set temp pointer to mirrored ebones */
|
||||
ebone = ED_armature_ebone_get_mirrored(arm->edbo, ebone_iter);
|
||||
if (ebone) {
|
||||
|
||||
ebone_iter->temp.ebone = ebone;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
When you're here in the code,
ebone
is guaranteed to be non-NULL
.And even if it were to be
NULL
, settingebone_iter->temp.ebone = NULL
in that case also wouldn't hurt.Right, I've overlooked that, thanks.