diff --git a/map_editor/map_editor_terrain_canvas.gd b/map_editor/map_editor_terrain_canvas.gd index 3d1a0a2..ae75b45 100644 --- a/map_editor/map_editor_terrain_canvas.gd +++ b/map_editor/map_editor_terrain_canvas.gd @@ -37,9 +37,9 @@ func clear(clear_elevation: float) -> void: _editable_texture.update(_editable_image) ## +## Returns the canvas data as a [Texture2D]. ## -## -func get_texture() -> void: +func get_texture() -> Texture2D: return _editable_texture ##