diff options
| author | Rémi Verschelde | 2018-01-10 07:57:35 +0100 |
|---|---|---|
| committer | GitHub | 2018-01-10 07:57:35 +0100 |
| commit | 4a25a4e53f4c3b457ac2003bab7cf0001dd5aab1 (patch) | |
| tree | 68230c2bd88e6ffa9b009b236b44957a29e2eacd /editor/plugins/canvas_item_editor_plugin.h | |
| parent | 2ac27608a6892d8d7e28d8afbbcc98505eb3e4b3 (diff) | |
| parent | 9d4afdc37231146d0e36fe91d982d2edd9274b47 (diff) | |
| download | godot-4a25a4e53f4c3b457ac2003bab7cf0001dd5aab1.tar.gz godot-4a25a4e53f4c3b457ac2003bab7cf0001dd5aab1.tar.zst godot-4a25a4e53f4c3b457ac2003bab7cf0001dd5aab1.zip | |
Merge pull request #15516 from StateOff/fixes_crash_on_drop_scene_file
Fixes #15470 "Crash on drag and drop scene file on empty scene"
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h index 5be71bfc2..ace87f9fe 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -576,6 +576,7 @@ class CanvasItemEditorViewport : public Control { void _remove_preview(); bool _cyclical_dependency_exists(const String &p_target_scene_path, Node *p_desired_node); + bool _only_packed_scenes_selected() const; void _create_nodes(Node *parent, Node *child, String &path, const Point2 &p_point); bool _create_instance(Node *parent, String &path, const Point2 &p_point); void _perform_drop_data(); |
