arindam-m/pyslapi

Missing UVs on random objects

Closed this issue · 1 comments

Describe the bug
Missing UVs on a few random objects. Material ID and any associated texture(s) are imported upon and there. But due to no (default) UV, the texture(s) if any, couldn't be mapped.

To Reproduce
Steps to reproduce the behavior:

  1. Import the sample SKP file (PFA)
  2. Upon importing a few of those objects (books here) are missing the UVs
  3. No Error Log

Sample File: Missing_UVs.zip

Expected behavior
Any texture image that is mapped to a particular face (in SketchUp) should be there in Blender as well when imported. It's basically a case of missing UV.

Screenshots
skp_75
blr_50

System Info

  • Operating System: [Windows 10]
  • Blender Version [2.82a]
  • SketchUp Version [2019]
  • Importer Version [v.0.20.2]

Additional context
No issue with the Material ID or any Texture mapped to it. Every polygonal face is indexed to their proper and respective Material ID slots.

Fixed with this commit a6e1caf