You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix Create Plugin after GD Annotation Changes
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user