Changeset 211 for osgVisual


Ignore:
Timestamp:
Jan 29, 2011, 6:49:22 PM (13 years ago)
Author:
Torben Dannhauer
Message:

Corrected missing defines to allow sky->. . calls only if a sky is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/src/core/visual_core.cpp

    r204 r211  
    289289                }
    290290
     291#ifdef USE_SKY_SILVERLINING
    291292                if(cur_node->type == XML_ELEMENT_NODE && node_name == "datetime")
    292293                {
     
    332333                                sky->setTime(hour,minute,00);
    333334                        }
    334 
    335335                }
    336336
     
    355355                                attr = attr->next;
    356356                        }
     357
    357358                        if(sky.valid())
    358359                        {
     
    403404                        }
    404405                }
     406#endif
    405407        }// FOR all nodes END
    406408
Note: See TracChangeset for help on using the changeset viewer.