You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
-scripts are converted to bytecode on export
-fix bug in doc where touchscreen events were not documented
This commit is contained in:
@@ -3058,6 +3058,12 @@ void EditorNode::register_editor_types() {
|
||||
// ObjectTypeDB::register_type<EditorPostImport>();
|
||||
}
|
||||
|
||||
void EditorNode::unregister_editor_types() {
|
||||
|
||||
_init_callbacks.clear();
|
||||
}
|
||||
|
||||
|
||||
void EditorNode::stop_child_process() {
|
||||
|
||||
_menu_option_confirm(RUN_STOP,false);
|
||||
@@ -3193,6 +3199,7 @@ void EditorNode::_file_dialog_unregister(FileDialog *p_dialog){
|
||||
singleton->file_dialogs.erase(p_dialog);
|
||||
}
|
||||
|
||||
Vector<EditorNodeInitCallback> EditorNode::_init_callbacks;
|
||||
|
||||
Error EditorNode::export_platform(const String& p_platform, const String& p_path, bool p_debug,const String& p_password,bool p_quit_after) {
|
||||
|
||||
@@ -4155,6 +4162,8 @@ EditorNode::EditorNode() {
|
||||
// Ref<ImageTexture> it = gui_base->get_icon("logo","Icons");
|
||||
// OS::get_singleton()->set_icon( it->get_data() );
|
||||
|
||||
for(int i=0;i<_init_callbacks.size();i++)
|
||||
_init_callbacks[i]();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user