Skip to content

Wire terrain_panel into editor and fix clippy warnings#144

Merged
stainlu merged 1 commit intomainfrom
unit4-test-fix-editor
Apr 6, 2026
Merged

Wire terrain_panel into editor and fix clippy warnings#144
stainlu merged 1 commit intomainfrom
unit4-test-fix-editor

Conversation

@stainlu
Copy link
Copy Markdown
Owner

@stainlu stainlu commented Apr 6, 2026

Summary

  • Wire the existing terrain_panel function into the editor example's egui layout, rendering it alongside the inspector panel when not in play mode
  • Fix all 9 clippy warnings in examples/editor.rs: 8 collapsible-if violations refactored to use Rust 2024 let-chains, and 1 unnecessary f32-to-f32 cast removed
  • All E2E checks pass: cargo check --workspace, cargo test --workspace, cargo clippy --workspace -- -D warnings, cargo fmt --all -- --check, cargo build --release -p euca-editor --example editor

Test plan

  • cargo check --workspace passes
  • cargo test --workspace passes (all 1600+ tests, 0 failures)
  • cargo clippy --workspace -- -D warnings passes
  • cargo fmt --all -- --check passes
  • cargo build --release -p euca-editor --example editor succeeds
  • cargo test -p euca-editor passes (17 tests)

🤖 Generated with Claude Code

Add the terrain brush panel to the editor's egui layout so it renders
alongside the inspector when not in play mode. Also resolve all clippy
collapsible_if warnings by using Rust 2024 let-chains, and remove an
unnecessary f32-to-f32 cast in world_dt.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying euca-engine with  Cloudflare Pages  Cloudflare Pages

Latest commit: d30d119
Status: ✅  Deploy successful!
Preview URL: https://23d84ed8.euca-engine.pages.dev
Branch Preview URL: https://unit4-test-fix-editor.euca-engine.pages.dev

View logs

@stainlu stainlu merged commit 1a68db7 into main Apr 6, 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