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)
|
path = os.path.join(f.toOsSpecific(), self.outputDir)
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
print 'LevelEditor Warning: Invalid default DNA directory!'
|
||||||
print 'Using: C:\\'
|
print 'Using current directory'
|
||||||
path = 'C:\\'
|
path = '.'
|
||||||
dnaFilename = askopenfilename(
|
dnaFilename = askopenfilename(
|
||||||
defaultextension = '.dna',
|
defaultextension = '.dna',
|
||||||
filetypes = (('DNA Files', '*.dna'),('All files', '*')),
|
filetypes = (('DNA Files', '*.dna'),('All files', '*')),
|
||||||
@ -1556,8 +1556,8 @@ class LevelEditor(NodePath, PandaObject):
|
|||||||
path = os.path.join(f.toOsSpecific(), self.outputDir)
|
path = os.path.join(f.toOsSpecific(), self.outputDir)
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
print 'LevelEditor Warning: Invalid DNA save directory!'
|
print 'LevelEditor Warning: Invalid DNA save directory!'
|
||||||
print 'Using: C:\\'
|
print 'Using current directory'
|
||||||
path = 'C:\\'
|
path = '.'
|
||||||
dnaFilename = asksaveasfilename(
|
dnaFilename = asksaveasfilename(
|
||||||
defaultextension = '.dna',
|
defaultextension = '.dna',
|
||||||
filetypes = (('DNA Files', '*.dna'),('All files', '*')),
|
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:
|
if pPath.getNumDirectories() > 0:
|
||||||
path = pPath.getDirectory(0).toOsSpecific()
|
path = pPath.getDirectory(0).toOsSpecific()
|
||||||
else:
|
else:
|
||||||
path = ''
|
path = '.'
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
print 'ParticlePanel Warning: Invalid default DNA directory!'
|
||||||
print 'Using: C:\\'
|
print 'Using current directory'
|
||||||
path = 'C:\\'
|
path = '.'
|
||||||
particleFilename = askopenfilename(
|
particleFilename = askopenfilename(
|
||||||
defaultextension = '.ptf',
|
defaultextension = '.ptf',
|
||||||
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
||||||
@ -995,11 +995,11 @@ class ParticlePanel(AppShell):
|
|||||||
if pPath.getNumDirectories() > 0:
|
if pPath.getNumDirectories() > 0:
|
||||||
path = pPath.getDirectory(0).toOsSpecific()
|
path = pPath.getDirectory(0).toOsSpecific()
|
||||||
else:
|
else:
|
||||||
path = ''
|
path = '.'
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
print 'ParticlePanel Warning: Invalid default DNA directory!'
|
||||||
print 'Using: C:\\'
|
print 'Using current directory'
|
||||||
path = 'C:\\'
|
path = '.'
|
||||||
particleFilename = asksaveasfilename(
|
particleFilename = asksaveasfilename(
|
||||||
defaultextension = '.ptf',
|
defaultextension = '.ptf',
|
||||||
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
filetypes = (('Particle Files', '*.ptf'),('All files', '*')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user