Skip to content

Commit

Permalink
Fix formatting issue that broke GridmapRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaTK committed Aug 29, 2024
1 parent 5b0a54d commit 36c9b62
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 1 addition & 3 deletions addons/gaea/renderers/2D/tilemap_gaea_renderer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ enum NodeType {


func _ready() -> void:
super()

# generators are always required here, this warning serves purpose for both tilemap types
if !generator:
push_error("TilemapGaeaRenderer needs a GaeaGenerator node assigned in its exports.")
return

match node_type:
NodeType.TILEMAP:
if not is_instance_valid(tile_map):
Expand Down
4 changes: 1 addition & 3 deletions addons/gaea/renderers/3D/gridmap_gaea_renderer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ extends GaeaRenderer3D


func _ready() -> void:
super()

if !generator:
if !generator:
push_error("GridmapGaeaRenderer needs a GaeaGenerator node assigned in its exports.")
return

Expand Down
8 changes: 4 additions & 4 deletions scenes/demos/noise/noise_demo.tres

Large diffs are not rendered by default.

0 comments on commit 36c9b62

Please sign in to comment.