diff options
author | Raul Santos <raulsntos@gmail.com> | 2022-06-16 17:21:47 +0200 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2022-06-16 19:29:59 +0200 |
commit | 525b5e0e16372923a571f4c024f53398798c2e95 (patch) | |
tree | a4ca7aaf6378e8b3f1c865e54ccb6044c9717bb5 /modules/gdscript/editor | |
parent | 639d72735c2e9bfff013029e3c797a2102797e82 (diff) |
Fix EditorScenePostImport templates for C#
Diffstat (limited to 'modules/gdscript/editor')
-rw-r--r-- | modules/gdscript/editor/script_templates/EditorScenePostImport/basic_import_script.gd | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/gdscript/editor/script_templates/EditorScenePostImport/basic_import_script.gd b/modules/gdscript/editor/script_templates/EditorScenePostImport/basic_import_script.gd index b4b2305b8c..556afe994b 100644 --- a/modules/gdscript/editor/script_templates/EditorScenePostImport/basic_import_script.gd +++ b/modules/gdscript/editor/script_templates/EditorScenePostImport/basic_import_script.gd @@ -5,7 +5,5 @@ extends EditorScenePostImport # Called by the editor when a scene has this script set as the import script in the import tab. func _post_import(scene: Node) -> Object: - # Modify the contents of the scene upon import. For example, setting up LODs: -# (scene.get_node(^"HighPolyMesh") as MeshInstance3D).draw_distance_end = 5.0 -# (scene.get_node(^"LowPolyMesh") as MeshInstance3D).draw_distance_begin = 5.0 + # Modify the contents of the scene upon import. return scene # Return the modified root node when you're done. |