diff options
author | bjornmp <bjorn.mp@gmail.com> | 2023-09-25 00:32:43 +0200 |
---|---|---|
committer | flasheeprom <bjorn.mp@gmail.com> | 2024-10-22 18:18:16 +0200 |
commit | 06998a3927e1c36212ba98615c2aefe92fe5b5e0 (patch) | |
tree | bf3079aac0a59726b196a59a7775c17fe90e90cc /modules/gdscript/gdscript_disassembler.cpp | |
parent | db66bd35af704fe0d83ba9348b8c50a48e51b2ba (diff) | |
download | redot-engine-06998a3927e1c36212ba98615c2aefe92fe5b5e0.tar.gz |
Enforce that custom nodes keep their original type
Enforce that custom nodes and resources created via the "Create New Node" dialog, should permanently retain their original type (script). This means:
- Type continuity: It should be impossible for the user to (accidentally) clear the original script of a custom node that was created via the "Create New Node" dialog.
- Extensibility: The user should be able to extend custom types as usual (create a script that inherits the original type and replace the original script of that node with his own). However, if he then clears his extension-script from that node later on, the custom type should revert to its original script instead of becoming a non-scripted type.
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions