Small cleanup on curve separation error handling
This commit is contained in:
parent
3335618489
commit
c63d133f4d
|
@ -1371,8 +1371,8 @@ static int separate_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
if (status.error_vertex_keys || status.error_generic) {
|
||||
const int tot_errors = status.error_vertex_keys + status.error_generic;
|
||||
const int tot_errors = status.error_vertex_keys + status.error_generic;
|
||||
if (tot_errors > 0) {
|
||||
|
||||
/* Some curves changed, but some curves failed: don't explain why it failed. */
|
||||
if (status.changed) {
|
||||
|
|
Loading…
Reference in New Issue