Skip to content

Update tiny_gltf.h to upstream - #45

Closed
Squareys wants to merge 3 commits into
mosra:masterfrom
Squareys:update-tinygltf
Closed

Squareys wants to merge 3 commits into
mosra:masterfrom
Squareys:update-tinygltf

Conversation

@Squareys

Copy link
Copy Markdown
Contributor

Hi @mosra !

As discussed per gitter.

(Summary for others: the patches I applied downstream back then seem to be obsolete.)

Cheers, Jonathan.

@mosra

mosra commented Jul 23, 2018

Copy link
Copy Markdown
Owner

One important thing: the commit message should contain upstream commit ID (or a link to it, ideally) ;)

@mosra

mosra commented Jul 23, 2018 •

Copy link
Copy Markdown
Owner

Looking at https://codecov.io/gh/mosra/magnum-plugins/src/b16dac21cbc2cd9c7b3cb3a94742dfc7b3e83bb1/src/MagnumPlugins/TinyGltfImporter/TinyGltfImporter.cpp#L655, the URI image import doesn't seem to be tested at all, so can't be sure if the update breaks this code path or not.

EDIT: dang sorry wrong button, didn't want to close. For the record, the CIs were green before I closed by accident.

@mosra mosra closed this Jul 23, 2018
@mosra mosra reopened this Jul 23, 2018
@codecov-io

codecov-io commented Jul 23, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #45 into master will decrease coverage by 0.16%.
The diff coverage is 35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   67.18%   67.01%   -0.17%     
==========================================
  Files          43       43              
  Lines        7341     7434      +93     
==========================================
+ Hits         4932     4982      +50     
- Misses       2409     2452      +43
Impacted Files Coverage Δ
src/MagnumExternal/TinyGltf/tiny_gltf.h 45.17% <35%> (-0.01%) ⬇️
...agnumPlugins/TinyGltfImporter/TinyGltfImporter.cpp 87.5% <0%> (+1.94%) ⬆️
...agnumPlugins/StbImageImporter/StbImageImporter.cpp 79.54% <0%> (+2.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbcb706...667a4ae. Read the comment docs.

@mosra mosra added this to the 2018.0c milestone Jul 23, 2018
Squareys added 3 commits July 23, 2018 23:51
Now at syoyo/tinygltf@39abfb5

Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
…iles

Signed-off-by: Squareys <squareys@googlemail.com>
@mosra

mosra commented Jul 26, 2018

Copy link
Copy Markdown
Owner

Thank you! Merged into master now :) For the record, with those modifications:

  • tinygltf update as 29661ad, but had to merge a few more things upstream, so the commit is different
  • embedded images test as 61afb91, but the code was crashing on images with embedded data URIs, fixed in 34f3adb
  • test file cleanup in 5ee0a5f, but the original commit forgot to update the corresponding glb files and missed a few cases, i did an overall cleanup in the following commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants