Commits

David Rogers committed 57ab3f3

A little log comment cleanup

  • Participants
  • Parent commits 2bf13e8
  • Branches v1-8

Comments (0)

Files changed (1)

File OgreMain/src/OgreTexture.cpp

             str << "Texture: " << mName << ": Loading " << faces << " faces"
                 << "(" << PixelUtil::getFormatName(images[0]->getFormat()) << "," <<
                 images[0]->getWidth() << "x" << images[0]->getHeight() << "x" << images[0]->getDepth() <<
-                ") with ";
+                ")";
             if (!(mMipmapsHardwareGenerated && mNumMipmaps == 0))
-                str << mNumMipmaps;
-            if(mUsage & TU_AUTOMIPMAP)
             {
-                if (mMipmapsHardwareGenerated)
-                    str << " hardware";
+                str << " with " << mNumMipmaps;
+                if(mUsage & TU_AUTOMIPMAP)
+                {
+                    if (mMipmapsHardwareGenerated)
+                        str << " hardware";
 
-                str << " generated mipmaps";
+                    str << " generated mipmaps";
+                }
+                else
+                {
+                    str << " custom mipmaps";
+                }
+                if(multiImage)
+                    str << " from multiple Images.";
+                else
+                    str << " from Image.";
             }
-            else
-            {
-                str << " custom mipmaps";
-            }
-            if(multiImage)
-                str << " from multiple Images.";
-            else
-                str << " from Image.";
+
             // Scoped
             {
                 // Print data about first destination surface