mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
4ab93c1f44
commit
93fa9aefdf
@ -1539,8 +1539,8 @@ class LevelEditor(NodePath, PandaObject):
|
||||
path = os.path.join(f.toOsSpecific(), self.outputDir)
|
||||
if not os.path.isdir(path):
|
||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
||||
print 'Using: C:\\'
|
||||
path = 'C:\\'
|
||||
print 'Using current directory'
|
||||
path = '.'
|
||||
dnaFilename = askopenfilename(
|
||||
defaultextension = '.dna',
|
||||
filetypes = (('DNA Files', '*.dna'),('All files', '*')),
|
||||
@ -1556,8 +1556,8 @@ class LevelEditor(NodePath, PandaObject):
|
||||
path = os.path.join(f.toOsSpecific(), self.outputDir)
|
||||
if not os.path.isdir(path):
|
||||
print 'LevelEditor Warning: Invalid DNA save directory!'
|
||||
print 'Using: C:\\'
|
||||
path = 'C:\\'
|
||||
print 'Using current directory'
|
||||
path = '.'
|
||||
dnaFilename = asksaveasfilename(
|
||||
defaultextension = '.dna',
|
||||
filetypes = (('DNA Files', '*.dna'),('All files', '*')),
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -973,11 +973,11 @@ class ParticlePanel(AppShell):
|
||||
if pPath.getNumDirectories() > 0:
|
||||
path = pPath.getDirectory(0).toOsSpecific()
|
||||
else:
|
||||
path = ''
|
||||
path = '.'
|
||||
if not os.path.isdir(path):
|
||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
||||
print 'Using: C:\\'
|
||||
path = 'C:\\'
|
||||
print 'ParticlePanel Warning: Invalid default DNA directory!'
|
||||
print 'Using current directory'
|
||||
path = '.'
|
||||
particleFilename = askopenfilename(
|
||||
defaultextension = '.ptf',
|
||||
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
||||
@ -995,11 +995,11 @@ class ParticlePanel(AppShell):
|
||||
if pPath.getNumDirectories() > 0:
|
||||
path = pPath.getDirectory(0).toOsSpecific()
|
||||
else:
|
||||
path = ''
|
||||
path = '.'
|
||||
if not os.path.isdir(path):
|
||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
||||
print 'Using: C:\\'
|
||||
path = 'C:\\'
|
||||
print 'ParticlePanel Warning: Invalid default DNA directory!'
|
||||
print 'Using current directory'
|
||||
path = '.'
|
||||
particleFilename = asksaveasfilename(
|
||||
defaultextension = '.ptf',
|
||||
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user