1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Modules: Make sure to include modules_enabled.gen.h where needed

Fixes #51677.

Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
This commit is contained in:
Rémi Verschelde
2021-11-12 13:34:25 +01:00
parent 5defa1c167
commit 6f4858f184
17 changed files with 46 additions and 37 deletions

View File

@@ -48,6 +48,8 @@
#include "scene/property_utils.h"
#include "scene/resources/packed_scene.h"
#include "modules/modules_enabled.gen.h" // For regex.
void SceneTreeDock::_nodes_drag_begin() {
if (restore_script_editor_on_drag) {
EditorNode::get_singleton()->set_visible_editor(EditorNode::EDITOR_SCRIPT);