Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 5, 2011, 9:11:46 PM (14 years ago)
Author:
dafrick
Message:

Quick fix for ScreenshotManager, such that it only needs memory when it is actually used.

File:
1 edited

Legend:

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

    r8351 r8406  
    7474        // Flag for overlay rendering
    7575        this->disableOverlays_ = true;
    76 
    77         // Update the values
    78         this->update();
    7976    }
    8077
     
    141138        {
    142139            // Save it.
    143             finalImage->save(PathConfig::getInstance().getLogPathString() + "screenshot_" + getTimestamp() + "." + this->fileExtension_);
     140            finalImage->save(PathConfig::getInstance().getLogPathString() + "screenshot_" + getTimestamp() + this->fileExtension_);
    144141            delete finalImage;
    145142            COUT(3) << "Finished taking " << this->gridSize_*this->windowWidth_ << "x" << this->gridSize_*this->windowHeight_ << " pixel HD screenshot. Storing in log/." << endl;
Note: See TracChangeset for help on using the changeset viewer.