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 backward compatibability for param kind to be "color" for thin instance methods #12433

Merged
merged 3 commits into from
Apr 28, 2022

Conversation

BlakeOne
Copy link
Contributor

@BlakeOne BlakeOne commented Apr 25, 2022

If kind "color" is passed to the function thinInstanceSetAttributeAt, it will be converted to "instanceColor", for back compat.
Forum: https://forum.babylonjs.com/t/vertex-error-and-no-colors-on-thin-instances-after-upgrade/28492/19

(Update: added this back compat to all thin instance methods that accept param kind)

@azure-pipelines
Copy link

Please make sure to tag your PR with "bug", "new feature" or "breaking change" tags.

@azure-pipelines
Copy link

Snapshot stored with reference name:
refs/pull/12433/merge

Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/12433/merge/index.html

To test a playground add it to the URL, for example:

https://babylonsnapshots.z22.web.core.windows.net/refs/pull/12433/merge/index.html#WGZLGJ#4600

To test the snapshot in the playground itself use (for example):

https://playground.babylonjs.com/?snapshot=refs/pull/12433/merge#BCU1XR#0

@sebavan sebavan requested a review from Popov72 April 25, 2022 17:09
@azure-pipelines
Copy link

Please make sure to tag your PR with "bug", "new feature" or "breaking change" tags.

@azure-pipelines
Copy link

@BlakeOne BlakeOne changed the title Fix thinInstanceSetAttributeAt to work with "color" kind Add backward compatibability for param kind to be "color" for thin instance methods Apr 27, 2022
@azure-pipelines
Copy link

Please make sure to tag your PR with "bug", "new feature" or "breaking change" tags.

@azure-pipelines
Copy link

@BlakeOne BlakeOne requested a review from Popov72 April 27, 2022 23:10
@deltakosh deltakosh enabled auto-merge (squash) April 28, 2022 15:10
@deltakosh deltakosh merged commit ff986b0 into BabylonJS:master Apr 28, 2022
@BlakeOne BlakeOne deleted the bug-thinInstanceSetAttributeAt branch April 28, 2022 23:44
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.

None yet

3 participants