Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8414 for code/trunk


Ignore:
Timestamp:
May 7, 2011, 11:19:45 PM (14 years ago)
Author:
dafrick
Message:

ScreenshotManager with gridSize = 1 works again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/designtools/ScreenshotManager.cc

    r8413 r8414  
    216216            // Also used when an invalid value is passed within gridSize (zero or negative grid size)
    217217            this->renderTarget_->update(); // Render
    218            
     218
     219            this->buffer_->blitToMemory(*this->finalPicturePB_);
    219220            finalImage->loadDynamicImage(static_cast<unsigned char*>(finalPicturePB_->data), finalPicturePB_->getWidth(), finalPicturePB_->getHeight(),Ogre::PF_B8G8R8);
    220221        }
Note: See TracChangeset for help on using the changeset viewer.