| 7062 | EditorBuildCallback EditorNode::build_callbacks[EditorNode::MAX_BUILD_CALLBACKS]; |
| 7063 | |
| 7064 | bool EditorNode::call_build() { |
| 7065 | bool builds_successful = true; |
| 7066 | |
| 7067 | for (int i = 0; i < build_callback_count && builds_successful; i++) { |
| 7068 | if (!build_callbacks[i]()) { |
| 7069 | ERR_PRINT("A Redot Engine build callback failed."); |
| 7070 | builds_successful = false; |
| 7071 | } |
| 7072 | } |
| 7073 | |
| 7074 | if (builds_successful && !editor_data.call_build()) { |
| 7075 | ERR_PRINT("An EditorPlugin build callback failed."); |
| 7076 | builds_successful = false; |
| 7077 | } |
| 7078 | |
| 7079 | return builds_successful; |
| 7080 | } |
| 7081 | |
| 7082 | void EditorNode::_inherit_imported(const String &p_action) { |
| 7083 | open_imported->hide(); |
no outgoing calls
no test coverage detected