openframeworks/openFrameworks — Issue #819: datapath messed in windows after using file open dialog
Author: hvfrancesco
Created: 2011-11-22 10:50:13+00:00
State: open

i'm experiencing troubles in windows when i use a system file-opening dialog from openframeworks. after using it Data root path seems to get pointing to a wrong location, causing troubles e.g. true type fonts not loading.
if I use the open-file dialog once again to open a file in root folder of the application, then the data path is reset correctly.
using ofSetDataPathRoot() doens't seem to fix the issue, or maybe I'm not using it correctly.