peng3d/resource.py
def loadModel(self,name):
        """
        Loads the model of the given name.
        
        The model will also be inserted into the cache.
        """
        m = model.Model(self.peng,self,name)
        self.modelobjcache[name]=m
        self.peng.sendEvent("peng3d:rsrc.model.load",{"peng":self.peng,"name":name})
        return m
def loadModel(self,name):
        """
        Loads the model of the given name.
        
        The model will also be inserted into the cache.
        """
        m = model.Model(self.peng,self,name)
        self.modelobjcache[name]=m
        self.peng.sendEvent("peng3d:rsrc.model.load",{"peng":self.peng,"name":name})
        return m
Loads the model of the given name.
        
        The model will also be inserted into the cache.