-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
B3dm external textures #4376
B3dm external textures #4376
Conversation
@lilleyse I'm not sure why this PR ended up including all of the previous commits -- I tried cherry-picking, but that didn't work either. Any suggestions on how to submit only the one commit? |
Make sure the base branch that you are merging into is |
@lilleyse Thanks so much! I tested this and it seems to fix the issue. Please let me know if there's anything else that needs to be fixed in this PR. |
@sumitshyamsukha Can you change this PR so that it only includes the external textures commit, and open another PR for just the shadows changes. After that, you will have to resolve the merge conflict. Usually the best approach is to switch to the 3d-tiles branch, |
5651123
to
3878d11
Compare
Is this ready? After updating a PR just leave a small comment to let me know to check it out since I usually ignore emails about pushed commits. |
Sorry for not leaving a comment! This PR is ready! I'm still trying to fix the merge conflict on the other PR. |
@@ -256,7 +258,7 @@ define([ | |||
gltf : gltfView, | |||
cull : false, // The model is already culled by the 3D tiles | |||
releaseGltfJson : true, // Models are unique and will not benefit from caching so save memory | |||
basePath : this._url, | |||
basePath : getBaseUri(this._url, false), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave out the false
, by default it is true
which is good since we want to keep the query string.
@@ -314,7 +316,7 @@ define([ | |||
collectionOptions.url = joinUrls(baseUrl, gltfUrl); | |||
} else { | |||
collectionOptions.gltf = gltfView; | |||
collectionOptions.basePath = this._url; | |||
collectionOptions.basePath = getBaseUri(this._url, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here.
I think something went wrong with the merge. The files changed section includes a lot of extraneous files. I would just delete that commit and try the merge again. This sequence of commands works for me:
|
@lilleyse Updated, should be fine now! |
Thanks @sumitshyamsukha it looks great now! |
Fixes #3892