~ubuntu-branches/ubuntu/wily/marble/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/marble/geodata/handlers/kml/KmlCameraTagHandler.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Jonathan Riddell, Scarlett Clark
  • Date: 2014-07-24 23:38:32 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20140724233832-7v4421t4khrhw487
Tags: 4:4.13.90-0ubuntu1
[ Jonathan Riddell ]
* Switch to libmarblewidget19 for new soversion

[ Scarlett Clark ]
* New upstream beta release
* Update: do_not_install_private_headers. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#include "MarbleDebug.h"
14
14
 
15
15
#include "KmlElementDictionary.h"
 
16
#include "KmlObjectTagHandler.h"
16
17
#include "GeoDataCamera.h"
17
18
#include "GeoParser.h"
18
19
#include "GeoDataContainer.h"
36
37
 
37
38
    if ( parentItem.is<GeoDataFeature>() ) {
38
39
        camera = new GeoDataCamera;
 
40
        KmlObjectTagHandler::parseIdentifiers( parser, camera );
39
41
        parentItem.nodeAs<GeoDataFeature>()->setAbstractView( camera );
40
42
    }
41
43
 
42
44
    if ( parentItem.is<GeoDataFlyTo>() ) {
43
45
        camera = new GeoDataCamera;
 
46
        KmlObjectTagHandler::parseIdentifiers( parser, camera );
44
47
        parentItem.nodeAs<GeoDataFlyTo>()->setView( camera );
45
48
    }
46
49