You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #15489 from willnationsdev/gdnative-hook
Add EditorPlugin.build() build callbacks
This commit is contained in:
@@ -420,6 +420,18 @@ void EditorData::paste_object_params(Object *p_object) {
|
||||
}
|
||||
}
|
||||
|
||||
bool EditorData::call_build() {
|
||||
|
||||
bool result = true;
|
||||
|
||||
for (int i = 0; i < editor_plugins.size() && result; i++) {
|
||||
|
||||
result &= editor_plugins[i]->build();
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
UndoRedo &EditorData::get_undo_redo() {
|
||||
|
||||
return undo_redo;
|
||||
|
||||
Reference in New Issue
Block a user