getWorkingDirectory() still returns null (linux)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
enforceman
Posts: 26
Joined: Sat Jan 03, 2004 3:43 pm

getWorkingDirectory() still returns null (linux)

Post by enforceman »

Hi!

getWorkingDirectory() still doesn't work on linux.

Tom
enforceman
Posts: 26
Joined: Sat Jan 03, 2004 3:43 pm

Post by enforceman »

irr::gui::IGUIFileOpenDialog::getFilename() does not return the whole directory with the filename. It returns only the filename without a dirrectory. On windows it returns the path with the filename at the end.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Oh, ok.. too bad. :)
Tels
Posts: 65
Joined: Fri Feb 27, 2004 7:56 pm
Location: Antarctica
Contact:

Post by Tels »

Oh well, I was about to add support for getWorkingDirectory() etc to Games::Irrlicht and got segfaults all over.. no wonder :)

Hopefully this is fixed in the next release :)

Cheers,

Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
Tels
Posts: 65
Joined: Fri Feb 27, 2004 7:56 pm
Location: Antarctica
Contact:

Post by Tels »

It also seems that changeWorkingDirectoryTo() always returns 0 (e.g. false). However, since getWorkingDirectory() doesn't work, I can't see whether it changed the directory or not. Bugger.

Cheers,

Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
Post Reply