Skip to content

Commit

Permalink
bugfix drag and drop of files.
Browse files Browse the repository at this point in the history
clean old files from system on drag done
  • Loading branch information
Philip Whitfield committed Nov 23, 2011
1 parent 381c6ca commit 25bdfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ofxFensterManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ bool ofxFensterManager::processEvent(GHOST_IEvent* event)
{
GHOST_TEventDragnDropData* dragnDropData = (GHOST_TEventDragnDropData*)((GHOST_IEvent*)event)->getData();
if(dragnDropData->dataType == GHOST_kDragnDropTypeFilenames){//TODO: STRING AND BITMAP IS ALSO SUPPORTED IN GHOST
static ofDragInfo info;
ofDragInfo info;
GHOST_TStringArray *strArray = (GHOST_TStringArray*)dragnDropData->data;
for (int i=0;i<strArray->count;i++){
const char* filename = (char*)strArray->strings[i];
Expand Down

0 comments on commit 25bdfbd

Please sign in to comment.