diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-02-27 09:39:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-02-27 09:39:48 +0300 |
commit | 9d7ace265454a8766450531614e3b9272d49f69f (patch) | |
tree | f88cfb0c8b55a1963a9324b0aa81481514169871 /release | |
parent | 4b0db88d3e5076bcc3daa14916277157a4fe24b1 (diff) |
x3d_export.py - fix for bug 6120
Sound.c - moved to getseters
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/console.py | 2 | ||||
-rw-r--r-- | release/scripts/x3d_export.py | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/release/scripts/console.py b/release/scripts/console.py index 7306d6d8dca..827ac4c5320 100644 --- a/release/scripts/console.py +++ b/release/scripts/console.py @@ -237,7 +237,7 @@ def rdir(dirString, depth=0): splitD = dirString[22:].replace('"]', '') if splitD not in COLLECTED_VAR_NAMES[dirItem]: - print dirItem, dirString, splitD, + # print dirItem, dirString, splitD, COLLECTED_VAR_NAMES[dirItem].append(splitD) diff --git a/release/scripts/x3d_export.py b/release/scripts/x3d_export.py index effae011f88..55c5509dd23 100644 --- a/release/scripts/x3d_export.py +++ b/release/scripts/x3d_export.py @@ -964,14 +964,12 @@ class VRML2Export: ########################################################## def select_file(filename): - if pytinst == 1: - if sys.exists(filename) and _safeOverwrite: - result = Draw.PupMenu("File Already Exists, Overwrite?%t|Yes%x1|No%x0") - if(result != 1): - return - if not filename.endswith(extension): filename += extension + if _safeOverwrite and sys.exists(filename): + result = Draw.PupMenu("File Already Exists, Overwrite?%t|Yes%x1|No%x0") + if(result != 1): + return wrlexport=VRML2Export(filename) wrlexport.export(scene, world, worldmat) |