[Bf-blender-cvs] [70e98a2] master: Freestyle: Fix for operator error messages with no active line set and associated line style.

Tamito Kajiyama noreply at git.blender.org
Fri Jun 6 02:59:11 CEST 2014


Commit: 70e98a21e0db11c14e9f32f1428d8f0c2abf377f
Author: Tamito Kajiyama
Date:   Thu Jun 5 22:58:51 2014 +0900
https://developer.blender.org/rB70e98a21e0db11c14e9f32f1428d8f0c2abf377f

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.

===================================================================

M	source/blender/editors/render/render_shading.c

===================================================================

diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index b91bc79..f0d418b 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -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) {




More information about the Bf-blender-cvs mailing list