mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
|
@ -160,7 +160,7 @@ void Particles2DEditorPlugin::_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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue