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

Using the "Transition To Daylight/Darkness" button logs a deprecation warning #10701

Closed
dev7355608 opened this issue Apr 22, 2024 · 2 comments
Closed
Labels
bug Functionality which is not working as intended duplicate This issue or pull request already exists scenes Issues related to Scenes and their configuration todelete Issues which will be deleted as part of periodic cleanup

Comments

@dev7355608
Copy link

Originally reported by huepfklotz: https://discord.com/channels/170995199584108546/1184176415139184731/1231218588375973909

ALL MODULES DISABLED? (true/false)
OS, Hosting, Browser (if applicable): -
Short Description of bug: Darkness animation throws deprecation warning
Simple steps to reproduce the bug: Use day cycle buttons in toolbar on the left, observe console
Screenshots and/or console errors:

foundry-esm.js:4565 Error: You are accessing Scene#darkness which has been migrated to Scene#environment.darknessLevel
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
    at logCompatibilityWarning (foundry-esm.js:4553:19)
    at Scene._logDataFieldMigration (foundry-esm.js:11931:14)
    at Object.get (foundry-esm.js:11892:21)
    at Scene._onUpdate (foundry.js:21459:55)
    at foundry-esm.js:56200:15
    at foundry-esm.js:56206:43
    at Array.map (<anonymous>)
    at #handleUpdateDocuments (foundry-esm.js:56206:33)
@dev7355608 dev7355608 added the bug Functionality which is not working as intended label Apr 22, 2024
@dev7355608 dev7355608 added this to the V12 User Testing 1 milestone Apr 22, 2024
@aaclayton aaclayton added the scenes Issues related to Scenes and their configuration label Apr 22, 2024
@aaclayton aaclayton removed this from the V12 User Testing 1 milestone Apr 25, 2024
@aaclayton aaclayton assigned aaclayton and Feu-Secret and unassigned aaclayton May 13, 2024
@aaclayton
Copy link
Contributor

Assigning to @Feu-Secret

@aaclayton aaclayton added this to the V12 User Testing 4 milestone May 13, 2024
@Feu-Secret
Copy link

Already fixed. Duplicate of #10807

@Feu-Secret Feu-Secret removed this from the V12 User Testing 4 milestone May 16, 2024
@Feu-Secret Feu-Secret added duplicate This issue or pull request already exists todelete Issues which will be deleted as part of periodic cleanup labels May 16, 2024
@Feu-Secret Feu-Secret removed their assignment May 16, 2024
@Feu-Secret Feu-Secret closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended duplicate This issue or pull request already exists scenes Issues related to Scenes and their configuration todelete Issues which will be deleted as part of periodic cleanup
Projects
None yet
Development

No branches or pull requests

3 participants