Show
Ignore:
Timestamp:
11/18/03 19:37:57 (5 years ago)
Author:
sholloway
Message:

Added support for a precompile step

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBRapier/RBRapier/Formats/SVG/SVGSkin/SVGSkinObject.py

    r671 r734  
    8080 
    8181    def _xmlInitFinalized(self): 
    82         if self.children and self.object is not None: 
    83             children = filter(None, [getattr(child, 'object', None) for child in self.children]) 
    84             self.object.SetChildren(children) 
     82        if self.object is not None: 
     83            if self.children: 
     84                children = filter(None, [getattr(child, 'object', None) for child in self.children]) 
     85                self.object.SetChildren(children) 
    8586 
    8687    def _xmlInitComplete(self):