You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Added some obvious errors explanations
This commit is contained in:
@@ -87,7 +87,7 @@ void CPUParticles2DEditorPlugin::_generate_emission_mask() {
|
||||
Ref<Image> img;
|
||||
img.instance();
|
||||
Error err = ImageLoader::load_image(source_emission_file, img);
|
||||
ERR_FAIL_COND_MSG(err != OK, "Error loading image: " + source_emission_file + ".");
|
||||
ERR_FAIL_COND_MSG(err != OK, "Error loading image '" + source_emission_file + "'.");
|
||||
|
||||
if (img->is_compressed()) {
|
||||
img->decompress();
|
||||
|
||||
Reference in New Issue
Block a user