Skip to content

fix: include ice generation in resampling process#1302

Merged
Azgaar merged 2 commits intoAzgaar:masterfrom
SheepFromHeaven:fix/include-ice-in-resampling
Feb 3, 2026
Merged

fix: include ice generation in resampling process#1302
Azgaar merged 2 commits intoAzgaar:masterfrom
SheepFromHeaven:fix/include-ice-in-resampling

Conversation

@SheepFromHeaven
Copy link
Collaborator

Description

Type of change

  • Bug fix
  • New feature
  • Refactoring / style
  • Documentation update / chore
  • Other (please describe)

Versioning

  • Version is updated
  • Changed files hash is updated

@netlify
Copy link

netlify bot commented Feb 2, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 1fad28a
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/6980ae444527d40008361afd
😎 Deploy Preview https://deploy-preview-1302--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SheepFromHeaven SheepFromHeaven changed the title feat: include ice generation in resampling process fix: include ice generation in resampling process Feb 2, 2026
@Azgaar Azgaar requested review from Azgaar and Copilot February 3, 2026 15:45
@Azgaar Azgaar merged commit b73557d into Azgaar:master Feb 3, 2026
11 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ensures ice (glaciers/icebergs) is generated as part of the map resampling workflow (e.g., Submap / Transform), and bumps version / cache hashes accordingly.

Changes:

  • Run Ice.generate() during Resample.process() after Features.markupPack().
  • Bump app version to 1.112.1.
  • Update resample.js cache-busting hash in src/index.html.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
public/modules/resample.js Adds ice generation into the resampling pipeline so resampled maps include ice data.
public/versioning.js Updates VERSION to 1.112.1.
src/index.html Updates modules/resample.js script query hash to match the new version.

Comment on lines +31 to 32
Ice.generate()
createDefaultRuler();
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing trailing semicolon after Ice.generate(); the rest of this initialization sequence uses semicolons (e.g., Features.markupPack();, createDefaultRuler();). For consistency with the surrounding codebase style (see public/main.js:635 and public/modules/ui/heightmap-editor.js:262), please add ; here.

Copilot uses AI. Check for mistakes.
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.

2 participants