Fix Eevee error message
That said, this should be informed to the user, not printed in the console.
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user