Merge pull request #46957 from sboronczyk/fix-editor-plugin
Fix Create Plugin after GD Annotation Changes
This commit is contained in:
commit
0d37c29173
@ -86,7 +86,7 @@ void PluginConfigDialog::_on_confirmed() {
|
|||||||
// Hard-coded GDScript template to keep usability until we use script templates.
|
// Hard-coded GDScript template to keep usability until we use script templates.
|
||||||
Ref<Script> gdscript = memnew(GDScript);
|
Ref<Script> gdscript = memnew(GDScript);
|
||||||
gdscript->set_source_code(
|
gdscript->set_source_code(
|
||||||
"tool\n"
|
"@tool\n"
|
||||||
"extends EditorPlugin\n"
|
"extends EditorPlugin\n"
|
||||||
"\n"
|
"\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user