Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 2, 2015
1 parent 5d5376f commit df0793a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions doomsday/sdk/libgui/src/graphics/image.cpp
Expand Up @@ -256,8 +256,6 @@ static QImage load(Block const &data)

bool const isUpperOrigin = header.flags.testFlag(Header::ScreenOriginUpper);

//LOG_WIP("[TARGA] pixelSize:%i imageType:%i") << pixelSize << header.imageType; // << img.bytesPerLine() << header.size.x * pixelSize;

// RGB can be read line by line.
if(header.imageType == Header::RGB)
{
Expand Down
5 changes: 2 additions & 3 deletions doomsday/sdk/libgui/src/graphics/modeldrawable.cpp
Expand Up @@ -154,7 +154,6 @@ struct DefaultImageLoader : public ModelDrawable::IImageLoader
Image loadImage(String const &path)
{
File const &texFile = App::rootFolder().locate<File>(path);
qDebug() << "loading image from" << texFile.description().toLatin1();
Image img = Image::fromData(texFile, texFile.name().fileNameExtension());
if(img.depth() == 24)
{
Expand Down Expand Up @@ -313,7 +312,7 @@ DENG2_PIMPL(ModelDrawable)
}
}
importer.SetPropertyString(AI_CONFIG_IMPORT_MD5_ANIM_SEQUENCE_NAMES, anims.toStdString());

scene = 0;
sourcePath = file.path();

Expand Down Expand Up @@ -538,7 +537,7 @@ DENG2_PIMPL(ModelDrawable)
DENG2_ASSERT(atlas != 0);

for(duint i = 0; i < scene->mNumMaterials; ++i)
{
{
qDebug() << " material #" << i;

auto &mat = materials[i];
Expand Down

0 comments on commit df0793a

Please sign in to comment.