From 754c5c0abb47c845d06172c18ac06cde7f817c61 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 10 Jul 2012 21:16:47 -0400 Subject: [PATCH] forgot my self's --- wfobj.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wfobj.py b/wfobj.py index aad92b8..0c6d878 100755 --- a/wfobj.py +++ b/wfobj.py @@ -2,7 +2,7 @@ import types class WFObj(object): - def __init__(source, fileloader=None): + def __init__(self, source, fileloader=None): self.fileloader = fileloader self.vertices = [] self.texcoords = [] @@ -20,7 +20,7 @@ class WFObj(object): else: self.load(source) - def load(fh): + def load(self, fh): lineno = 0 current_material_name = '' @@ -105,7 +105,7 @@ class WFObj(object): self.specular = (1, 1, 1, 1) self.shininess = 50 - def load_material_library(name): + def load_material_library(self, name): if self.fileloader is not None: fh = self.fileloader(name) else: