OpenSAGE / OpenSAGE.BlenderPlugin

A Westwood 3D Blender plugin. Imports & exports the W3D/W3X format to/from Blender.
https://opensage.github.io
GNU Lesser General Public License v3.0
50 stars 18 forks source link

handle tx_stages without tx_coords #166

Closed Tarcontar closed 4 years ago

Tarcontar commented 4 years ago

The file containing the city map of renegades contains a mesh with a materialpass->texture stage that has a texture index but no texture coordinates. Since we have no idea what to do with it, omit it. It is not a simple square but has ~100 vertices.

codecov[bot] commented 4 years ago

Codecov Report

Merging #166 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #166   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines         4142      4145    +3     
  Branches       750       751    +1     
=========================================
+ Hits          4142      4145    +3     
Impacted Files Coverage Δ
io_mesh_w3d/common/utils/helpers.py 100.00% <100.00%> (ø)

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 dc6acfc...f5be70d. Read the comment docs.