Skip to content

fix: resolve pre-existing Godot 4.6.2 parse errors (part 1)#5

Merged
zedarvates merged 1 commit into
mainfrom
feat/worldmirror2-integration
May 3, 2026
Merged

fix: resolve pre-existing Godot 4.6.2 parse errors (part 1)#5
zedarvates merged 1 commit into
mainfrom
feat/worldmirror2-integration

Conversation

@zedarvates
Copy link
Copy Markdown
Owner

  • gaussian_splat.gd: add LayerType enum (BASE/SATURATION/LIGHT/SHADOW) + layer_type field, fixing 'Cannot find member LayerType' in 3 consumers: layered_foveated_controller.gd, splat_interaction_controller.gd, splat_lighting_animator.gd
  • color_quantization.gd: Color.ZERO → Color(0,0,0,0) x3 (not a valid Godot 4.6 constant), Color.BLACK → Color(0,0,0,1), null → [] in typed Array returns (lines 318, 337)
  • style_engine.gd: explicit float/Vector3 types for fresnel, reflect_dir, edge_glow (GDScript 4.6 strict type inference fix)
  • game_ready_optimizer.gd: explicit Color/float types for dc, d variables

- gaussian_splat.gd: add LayerType enum (BASE/SATURATION/LIGHT/SHADOW) +
  layer_type field, fixing 'Cannot find member LayerType' in 3 consumers:
  layered_foveated_controller.gd, splat_interaction_controller.gd,
  splat_lighting_animator.gd
- color_quantization.gd: Color.ZERO → Color(0,0,0,0) x3 (not a valid
  Godot 4.6 constant), Color.BLACK → Color(0,0,0,1), null → [] in
  typed Array returns (lines 318, 337)
- style_engine.gd: explicit float/Vector3 types for fresnel, reflect_dir,
  edge_glow (GDScript 4.6 strict type inference fix)
- game_ready_optimizer.gd: explicit Color/float types for dc, d variables
@zedarvates zedarvates merged commit 843ef9d into main May 3, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant