[Bf-blender-cvs] [6743308e598] blender2.8: Fix Eevee error message

Dalai Felinto noreply at git.blender.org
Thu Jan 25 13:59:52 CET 2018


Commit: 6743308e5980dc86d1eca0ebefe2d23720e5a06d
Author: Dalai Felinto
Date:   Thu Jan 25 10:59:41 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB6743308e5980dc86d1eca0ebefe2d23720e5a06d

Fix Eevee error message

That said, this should be informed to the user, not printed in the console.

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

M	source/blender/draw/engines/eevee/eevee_lights.c

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

diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c
index 34bbcb31880..69b58bf9670 100644
--- a/source/blender/draw/engines/eevee/eevee_lights.c
+++ b/source/blender/draw/engines/eevee/eevee_lights.c
@@ -289,7 +289,7 @@ void EEVEE_lights_cache_add(EEVEE_ViewLayerData *sldata, Object *ob)
 
 	/* Step 1 find all lamps in the scene and setup them */
 	if (linfo->num_light >= MAX_LIGHT) {
-		printf("Too much lamps in the scene !!!\n");
+		printf("Too many lamps in the scene !!!\n");
 	}
 	else {
 		Lamp *la = (Lamp *)ob->data;



More information about the Bf-blender-cvs mailing list