You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
EditorNode: Add function to load file as scene or resource
This commit is contained in:
@@ -139,12 +139,6 @@ public:
|
||||
class DependencyErrorDialog : public ConfirmationDialog {
|
||||
GDCLASS(DependencyErrorDialog, ConfirmationDialog);
|
||||
|
||||
public:
|
||||
enum Mode {
|
||||
MODE_SCENE,
|
||||
MODE_RESOURCE,
|
||||
};
|
||||
|
||||
private:
|
||||
String for_file;
|
||||
Mode mode;
|
||||
@@ -155,7 +149,7 @@ private:
|
||||
void custom_action(const String &) override;
|
||||
|
||||
public:
|
||||
void show(Mode p_mode, const String &p_for_file, const Vector<String> &report);
|
||||
void show(const String &p_for_file, const Vector<String> &report);
|
||||
DependencyErrorDialog();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user