Initial revision

This commit is contained in:
Hans Lambermont
2002-10-12 11:37:38 +00:00
commit 12315f4d0e
1699 changed files with 444708 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# this is the importloader which blender calls on unknown
# file types
import importer
supported= {'wrl': importer.VRMLimporter}
def process(name):
# run through importerlist and check for magic
m = None
for modname in importer.importers:
mod = getattr(importer, modname)
if mod.checkmagic(name):
m = mod
break
if not m:
return 0
m.importfile(name)
#except:
#import sys
#print "Import failed"sys.exc_value
return 1