Skip to content

Conversation

@nklbdev
Copy link
Contributor

@nklbdev nklbdev commented Oct 17, 2025

Title: feat: Add UV clamping toggle option

Description:

This PR adds a new setting "Clamp UV" that allows disabling UV coordinate clamping in the UV editor. When disabled, users can freely position UV vertices beyond the texture bounds (0-<texture_dimension> range).

Changes:

Added settings.clampuv configuration options

Modified UV editor constraints to respect the new setting

Updated all language files with translations for the new setting

Why this is needed:

Enables proper editing of models with repeating/tiled textures

Complements the existing Repeating Textures (by @mr0x13f) plugin functionality

Allows accurate import and editing of OBJ models that use UV coordinates outside the 0-<texture_dimension> range

Provides flexibility for advanced UV mapping techniques

Testing:

Verified that UV vertices can be moved beyond texture bounds when setting is disabled

Confirmed that clamping still works correctly when setting is enabled

Closes #3072

image image

@netlify
Copy link

netlify bot commented Oct 17, 2025

Deploy Preview for blockbench-dev ready!

Name Link
🔨 Latest commit 9af8792
🔍 Latest deploy log https://app.netlify.com/projects/blockbench-dev/deploys/68f28e3512dae40008bbbf80
😎 Deploy Preview https://deploy-preview-3073--blockbench-dev.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.

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