ofToDataPath in 061 - no abs paths

Hi all,

first up I’d like to say thanks for the new release! I have just come across a small bug. in xcode on osx 10.5 ofToDataPath() doesn’t seem to work to return absolute paths. It keeps returning a path relative to the data folder even if you call it with second argument as true. less important is that previously you could also call it with an empty string as an argument and get the path but now it will throw an error:

  
terminate called after throwing an instance of 'std::out_of_range'  
  what():  basic_string::substr  

cheers,
nay.

so if you do:

  
ofImage img;  
img.loadImage("/Users/theo/Desktop/someFile.png");  

it doesn’t work?

specifying the path does work. I am using fstream to write log files. before I used ofToDataPath("",true) which no longer works so at the moment I just have to specify something something like “…/…/…/data/”