Revision: 14746
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14746
Author:   migius
Date:     2008-05-08 19:36:08 +0200 (Thu, 08 May 2008)

Log Message:
-----------
turn off debug mode

Modified Paths:
--------------
    trunk/blender/release/scripts/bpymodules/colladaImEx/cstartup.py
    trunk/blender/release/scripts/colladaImport14.py

Modified: trunk/blender/release/scripts/bpymodules/colladaImEx/cstartup.py
===================================================================
--- trunk/blender/release/scripts/bpymodules/colladaImEx/cstartup.py    
2008-05-08 17:08:28 UTC (rev 14745)
+++ trunk/blender/release/scripts/bpymodules/colladaImEx/cstartup.py    
2008-05-08 17:36:08 UTC (rev 14746)
@@ -23,6 +23,7 @@
 # ***** END GPL LICENCE BLOCK *****
 # --------------------------------------------------------------------------
 
+#debug = True
 debug = False
 _ERROR = False
 _PERROR = False
@@ -43,7 +44,10 @@
 # indicates if the user can choose a file to import
 useDefaultFile = True
 
-defaultFileUrl = ''
+defaultFileUrl = 'animation.DAE'
+#defaultFileUrl = 'animation.DAE'
+#defaultFileUrl = 'animated_letters.DAE'
+#defaultFileUrl = 'animation_robot.DAE'
 defaultExportUrl = ''
 
 # Check if full version of python is installed.        
@@ -151,7 +155,7 @@
        cutils.Debug.Debug('Illusoft Collada 1.4 Plugin v%s 
started'%(__version__),'FEEDBACK')
        # Create a Collada <-> Blender Translator
        if debug:
-               #keep track of the time to execute this script
+               print 'keep track of the time to execute this script' #---------
                startTime = Blender.sys.time()
                
                ##fileurl = scriptsDir
@@ -160,6 +164,7 @@
                        fileurl+= defaultFileUrl
                else :
                        fileurl += defaultExportUrl
+               print 'deb: fileurl=',fileurl #-------
 
                useTriangles = False
                usePolygons = False
@@ -181,6 +186,7 @@
                ##translator = 
Translator(False,__version__,debug,scriptsDir+defaultExportUrl)            
                ##translator = 
Translator(True,__version__,debug,scriptsDir+defaultExportUrl)
                # Redraw al 3D windows.
+               print 'deb: ---- the end ----' #-----
                Blender.Window.RedrawAll()        
                
                # calculate the elapsed time
@@ -673,4 +679,4 @@
                if not toggleOnlyMainScene.val:
                        if not toggleClearScene.val and not toggleNewScene.val:
                                toggleNewScene.val = True
-               Blender.Draw.Redraw(1)
+               Blender.Draw.Redraw(1)
\ No newline at end of file

Modified: trunk/blender/release/scripts/colladaImport14.py
===================================================================
--- trunk/blender/release/scripts/colladaImport14.py    2008-05-08 17:08:28 UTC 
(rev 14745)
+++ trunk/blender/release/scripts/colladaImport14.py    2008-05-08 17:36:08 UTC 
(rev 14746)
@@ -125,12 +125,13 @@
                reload(colladaImEx.cstartup)
                colladaImEx.cstartup.Main(True, loc)
        except StandardError:
-       """a try to receive error messages to the console:
-       except:
-               print 'deb: PROBLEM !!!!!' #-------
-               #print sys.exc_info()[1]
-               #print sys.exc_info()
-               print sys.exc_type, sys.exc_value #-------
-               #traceback.print_exc(file=sys.stdout)
-       """
                pass
+
+"""a try to receive error messages to the console:
+except:
+       print 'deb: PROBLEM !!!!!' #-------
+       #print sys.exc_info()[1]
+       #print sys.exc_info()
+       print sys.exc_type, sys.exc_value #-------
+       #traceback.print_exc(file=sys.stdout)
+"""


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to