You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Added some obvious errors explanations
This commit is contained in:
@@ -1709,7 +1709,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
|
||||
reimport.push_back(p_selected[i]);
|
||||
}
|
||||
|
||||
ERR_FAIL_COND(reimport.size() == 0);
|
||||
ERR_FAIL_COND_MSG(reimport.size() == 0, "You need to select files to reimport them.");
|
||||
} break;
|
||||
|
||||
case FILE_NEW_FOLDER: {
|
||||
@@ -2087,7 +2087,7 @@ void FileSystemDock::_get_drag_target_folder(String &target, bool &target_favori
|
||||
|
||||
void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, Vector<String> p_paths, bool p_display_path_dependent_options) {
|
||||
// Add options for files and folders.
|
||||
ERR_FAIL_COND(p_paths.empty());
|
||||
ERR_FAIL_COND_MSG(p_paths.empty(), "Path cannot be empty.");
|
||||
|
||||
Vector<String> filenames;
|
||||
Vector<String> foldernames;
|
||||
|
||||
Reference in New Issue
Block a user