Changeset 6275 for geovis/trunk


Ignore:
Timestamp:
Apr 19, 2016 9:11:40 AM (8 years ago)
Author:
ldelgass
Message:

Another decluttering refactor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Renderer.cpp

    r6274 r6275  
    15531553        _placeNodes = new osg::Group();
    15541554        _placeNodes->setName("Place Nodes");
     1555#ifdef NEW_ANNOTATION_API
     1556        osgEarth::ScreenSpaceLayout::activate(_placeNodes->getOrCreateStateSet());
     1557#else
    15551558        osgEarth::Decluttering::setEnabled(_placeNodes->getOrCreateStateSet(), true);
     1559#endif
    15561560        _annotations->addChild(_placeNodes.get());
    15571561        if (_picker.valid()) {
Note: See TracChangeset for help on using the changeset viewer.