darn, had some debug stuff left in.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 25 Apr 2007 21:19:43 +0000 (21:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 25 Apr 2007 21:19:43 +0000 (21:19 +0000)
release/scripts/export_cal3d.py

index 6ed51923c249fa0658ec4307209f4358d9662357..fa5488da355fb946e520f5b6380f628a21f22203 100644 (file)
@@ -448,7 +448,7 @@ class Cal3DSubMesh(object):
                                #print "TEST", v.normal, normal 
                                if      v.normal == normal and\
                                        v.maps == maps:
-                                               print "reuseing"
+                                               print "reuseing"
                                                return v
                        
                        # No match, add a new vert
@@ -1091,8 +1091,8 @@ def export_cal3d_ui(filename):
        Blender.Window.WaitCursor(0)
 
 
-import os
+import os
 if __name__ == '__main__':
-       #Blender.Window.FileSelector(export_cal3d_ui, "Cal3D Export", Blender.Get('filename').replace('.blend', '.cfg'))
-       export_cal3d('/test' + '.cfg')
-       os.system('cd /; wine /cal3d_miniviewer.exe /test.cfg')
+       Blender.Window.FileSelector(export_cal3d_ui, "Cal3D Export", Blender.Get('filename').replace('.blend', '.cfg'))
+       #export_cal3d('/test' + '.cfg')
+       #os.system('cd /; wine /cal3d_miniviewer.exe /test.cfg')