mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
This commit is contained in:
@@ -1289,7 +1289,7 @@ void EditorInspector::remove_inspector_plugin(const Ref<EditorInspectorPlugin> &
|
||||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_COND(idx == -1);
|
||||
ERR_FAIL_COND_MSG(idx == -1, "Trying to remove nonexistent inspector plugin.");
|
||||
for (int i = idx; i < inspector_plugin_count - 1; i++) {
|
||||
inspector_plugins[i] = inspector_plugins[i + 1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user