Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2010, 4:35:48 PM (15 years ago)
Author:
dafrick
Message:

Resolved issue with lod-template. Now, template inherit the "defaults"-parameter of templates they link. Empty level should work now.

Location:
code/branches/presentation3/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/libraries/core/Template.cc

    r6746 r6938  
    9999    }
    100100
    101     const TiXmlElement& Template::getXMLElement() const
     101    const TiXmlElement& Template::getXMLElement()
    102102    {
    103103        if (this->bIsLink_)
     
    106106            if (temp)
    107107            {
     108                this->bLoadDefaults_ = temp->bLoadDefaults_;
     109               
    108110                if (!temp->bIsReturningXMLElement_)
    109111                {
  • code/branches/presentation3/src/libraries/core/Template.h

    r6417 r6938  
    5858
    5959            void setXMLElement(const TiXmlElement& xmlelement);
    60             const TiXmlElement& getXMLElement() const;
     60            const TiXmlElement& getXMLElement();
    6161
    6262            void setBaseclass(const std::string& baseclass);
Note: See TracChangeset for help on using the changeset viewer.