dmsurti / AssimpKit

A library (macOS, iOS) that converts the files supported by Assimp to Scene Kit scenes.
http://assimpkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
474 stars 54 forks source link

Fix texture path #10

Closed dmsurti closed 7 years ago

dmsurti commented 7 years ago

Some model files (example: soldier.dae) have the full texture path whereas we only need the texture file name. Ensure we pick only the last path component.