Fix inventory items blinking on item preloading
authorsapier <Sapier at GMX dot net>
Thu, 15 May 2014 20:16:38 +0000 (22:16 +0200)
committersapier <Sapier at GMX dot net>
Sat, 16 Aug 2014 11:00:37 +0000 (13:00 +0200)
src/tile.cpp

index d16d135f500f0aabdf3d590c9f0495d368477e2f..366e03ce2af43838597c536c547519e100b57b22 100644 (file)
@@ -894,9 +894,7 @@ video::ITexture* TextureSource::generateTextureFromMesh(
                        params.light_radius);
 
        // Render scene
-       driver->beginScene(true, true, video::SColor(0,0,0,0));
        smgr->drawAll();
-       driver->endScene();
 
        // Drop scene manager
        smgr->drop();
@@ -976,7 +974,7 @@ video::IImage* TextureSource::generateImage(const std::string &name)
 
        std::string last_part_of_name = name.substr(last_separator_pos + 1);
 
-       /* 
+       /*
                If this name is enclosed in parentheses, generate it
                and blit it onto the base image
        */