Skip to content

Commit

Permalink
support for tga files
Browse files Browse the repository at this point in the history
  • Loading branch information
NickHardeman committed Aug 23, 2015
1 parent 33cec4b commit 645508f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ofxFBXScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ void ofxFBXScene::deleteCachedTexturesInScene( FbxScene* pScene ) {
bool ofxFBXScene::isValidTexturePath( string aPathToTexture ) {
ofFile tfile = (string)aPathToTexture;
if(!tfile.exists()) return false;
return (tfile.getExtension() == "jpg" || tfile.getExtension() == "png" || tfile.getExtension() == "bmp");
return ( tfile.getExtension() == "tga" || tfile.getExtension() == "jpg" || tfile.getExtension() == "png" || tfile.getExtension() == "bmp");
}

#pragma mark - Materials
Expand Down

0 comments on commit 645508f

Please sign in to comment.