Permalink
Browse files

Formatting

  • Loading branch information...
1 parent ec17abb commit 9f4f0687f61fa752f3468ab16bc04bf08042b97a Adam Charles committed Dec 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/TextureSequence.cpp
@@ -83,7 +83,7 @@ void TextureSequence::createFromDir( string filePath ){
for ( fs::directory_iterator it( p ); it != fs::directory_iterator(); ++it ){
if ( fs::is_regular_file( *it ) ){
// -- Perhaps there is a better way to ignore hidden files
- string fileName = it->path().filename().string();
+ string fileName = it->path().filename().string();
if( !( fileName.compare( ".DS_Store" ) == 0 ) ){
textures.push_back( new Texture( loadImage( filePath + fileName ) ) );
}

0 comments on commit 9f4f068

Please sign in to comment.