peng3d/resource.py
def getModelData(self,name):
        """
        Gets the model data associated with the given name.
        
        If it was loaded, a cached copy will be returned.
        It it was not loaded, it will be loaded and cached.
        """
        if name in self.modelcache:
            return self.modelcache[name]
        return self.loadModelData(name)
def getModelData(self,name):
        """
        Gets the model data associated with the given name.
        
        If it was loaded, a cached copy will be returned.
        It it was not loaded, it will be loaded and cached.
        """
        if name in self.modelcache:
            return self.modelcache[name]
        return self.loadModelData(name)
Gets the model data associated with the given name.
        
        If it was loaded, a cached copy will be returned.
        It it was not loaded, it will be loaded and cached.