Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app config for absolute texture paths #2489

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

Kage-Yami
Copy link

@Kage-Yami Kage-Yami commented Sep 21, 2024

Added a new absolute_texture_paths app setting that controls whether or not the $.textures[].path field is written to .bbmodel project files.

Piggy-backed off the existing functionality to remove the field, which seems to exist for sharing project files, but mimicked the way the embed_textures setting is checked for just above it.

The surrounding settings in js/interface/settings.js seem to be column-aligned, so I updated the other settings to match the new alignment required for this slightly-longer setting name.

Based on looking at the non-English translation files, I assumed English stubs should be included in each language's file, so did so.

This aims to partially resolve #1322 - it doesn't address per-project settings, but it resolves the overall issue in the same way as has been done previously for embedding texture data.

Copy link

netlify bot commented Sep 21, 2024

Deploy Preview for blockbench-dev ready!

Name Link
🔨 Latest commit f9fd011
🔍 Latest deploy log https://app.netlify.com/sites/blockbench-dev/deploys/66ee4db2faa05200086fd41d
😎 Deploy Preview https://deploy-preview-2489--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 site configuration.

@Kage-Yami Kage-Yami changed the title Feat/texture path config Add app config for absolute texture paths Sep 21, 2024
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