Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
MikeMikeMike
Hi…,
when I delete nodes from my scene I always get the annoying question “Please Confirm…”.
Where to switch this question off?
Thanks
Mike
system
June 5, 2021, 10:31pm
2
Reply From:
wyattb
Im gonna venture to say that you could do it by writing your own tool and deleting the node via code.
What is@tool?:@tool is a powerful line of code that, when added at the top of your script, makes it execute in the editor. You can also decide which parts of the script execute in the editor, which...
Inherits: Object Inherited By: AnimationPlayer, AnimationTree, AudioStreamPlayer, CanvasItem, CanvasLayer, EditorFileSystem, EditorPlugin, EditorResourcePreview, HTTPRequest, InstancePlaceholder, M...
Thanks. Yes, code would work.
Nethertheless an option in the editor settings would be nice.
MikeMikeMike | 2021-06-06 09:29
system
June 10, 2021, 1:15am
3
Reply From:
Calinou
Hold Shift while pressing the Delete key. This will make the confirmation dialog not appear when removing a node from the Scene tree dock.
Works, great, thanks.
MikeMikeMike | 2021-06-10 07:01
system
April 23, 2022, 7:36pm
4
Reply From:
Snooze
For anyone else looking to turn the confirmation dialog off: You can re-bind the shortcut for “Delete (No Confirm)” (and if you bind to Del, also unbind the now-duplicate one for “Delete Node(s)”).
Editor > Editor Settings > Shortcuts tab > “Scene Tree” section.