~ubuntu-branches/ubuntu/trusty/xplanet/trusty

« back to all changes in this revision

Viewing changes to src/drawProjection.cpp

  • Committer: Package Import Robot
  • Author(s): Steve McIntyre
  • Date: 2014-01-30 18:54:10 UTC
  • mfrom: (4.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140130185410-o2u51emh707gbevv
Tags: 1.3.0-1
* New maintainer
* Move to new upstream version 1.3.0. (Closes: #678464)
  + Upstream highlights:
    - add "outlined" keyword to marker files
    - update JPL ephemeris code for 64 bit machines
    - add bump_shade config file parameter
    - add opacity keyword for markers
    - implement Rayleigh scattering
  + Remove old Debian patches now obsoleted:
    - possible-buffer-overflow (included upstream)
    - orbit-step-bug (included upstream)
    - gcc44-includes (included upstream)
    - hyphen-used-as-minus-sign (included upstream)
    - tsc-aspect-ratio (included upstream)
  + Update (and include!) FreeMonoBold
* Update libtiff build-deps (Closes: #736052)
* Update libpng build-deps (Closes: #662568)
* Update Standards-Version to 3.9.5
* Update to debhelper 9 to enable hardening build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <cstring>
2
2
#include <map>
 
3
#include <sstream>
3
4
#include <vector>
4
5
using namespace std;
5
6
 
76
77
                  target, ring, planetsFromSunMap,
77
78
                  planetProperties);
78
79
 
 
80
    if (!options->OutputMapRect().empty())
 
81
    {
 
82
        if (!m->Write(options->OutputMapRect().c_str()))
 
83
        {
 
84
            ostringstream errStr;
 
85
            errStr << "Can't create " << options->OutputMapRect() 
 
86
                   << "\n";
 
87
            xpWarn(errStr.str(), __FILE__, __LINE__);
 
88
        }
 
89
    }
 
90
 
79
91
    if (target->Index() == SATURN) 
80
92
    {
81
93
        delete ring;