Freestyle: Fix for operator error messages with no active line set and associated line style.
This commit amends a de-duplication of error messages in the commit rB6067fa682b0c.
This commit is contained in:
parent
02808f2774
commit
70e98a21e0
|
@ -598,7 +598,7 @@ void SCENE_OT_render_layer_remove(wmOperatorType *ot)
|
|||
static bool freestyle_linestyle_check_report(FreestyleLineSet *lineset, ReportList *reports)
|
||||
{
|
||||
if (!lineset) {
|
||||
BKE_report(reports, RPT_ERROR, "No active lineset and associated line style to add the modifier to");
|
||||
BKE_report(reports, RPT_ERROR, "No active lineset and associated line style to manipulate the modifier");
|
||||
return false;
|
||||
}
|
||||
if (!lineset->linestyle) {
|
||||
|
|
Loading…
Reference in New Issue