mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas
This commit is contained in:
		
							parent
							
								
									14877d1f99
								
							
						
					
					
						commit
						60a255a0d0
					
				
					 6 changed files with 29 additions and 6 deletions
				
			
		|  | @ -110,6 +110,9 @@ void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) { | |||
| 			case LightmapGI::BAKE_ERROR_LIGHTMAP_TOO_SMALL: { | ||||
| 				EditorNode::get_singleton()->show_warning(TTR("Failed creating lightmap images. Make sure all meshes selected to bake have `lightmap_size_hint` value set high enough, and `texel_scale` value of LightmapGI is not too low.")); | ||||
| 			} break; | ||||
| 			case LightmapGI::BAKE_ERROR_ATLAS_TOO_SMALL: { | ||||
| 				EditorNode::get_singleton()->show_warning(TTR("Failed fitting a lightmap image into an atlas. This should never happen and should be reported.")); | ||||
| 			} break; | ||||
| 			default: { | ||||
| 			} break; | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 BlueCube3310
						BlueCube3310