Anim: Detailed report if no keyframes have been inserted #119201
|
@ -135,7 +135,7 @@ void CombinedKeyingResult::generate_reports(ReportList *reports)
|
|||
}
|
||||
|
||||
if (has_reported_error) {
|
||||
BKE_reportf(reports, RPT_ERROR, "%s", error.c_str());
|
||||
BKE_report(reports, RPT_ERROR, error.c_str());
|
||||
|
||||
}
|
||||
else {
|
||||
BKE_report(reports, RPT_WARNING, "Encountered unhandled error during keyframing");
|
||||
|
|
|
@ -341,7 +341,7 @@ static int insert_key(bContext *C, wmOperator *op)
|
|||
}
|
||||
|
||||
if (BLI_listbase_is_empty(&selection)) {
|
||||
BKE_reportf(op->reports, RPT_WARNING, "Nothing selected to keyframe");
|
||||
BKE_reportf(op->reports, RPT_WARNING, "Nothing selected to key");
|
||||
Sybren A. Stüvel
commented
In the rest of this PR "keyframe" is only used as a noun. Maybe "Nothing selected to key" is better? In the rest of this PR "keyframe" is only used as a noun. Maybe "Nothing selected to key" is better?
|
||||
BLI_freelistN(&selection);
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
BKE_report(reports, RPT_ERROR, error.c_str());