Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Why dragEvent stops working when adding other ofBaseApp derivated classes?

$
0
0

Hello,

I have a class/add-on and his example allows to drag files into the app window and store a list of these added files:
(Then you can remove this list several times during coding workflow.)

It works fine. But, …


… the problem happens when I add to the app another add-on that derivates from ofBaseApp:

Then I can’t drag files to the app window. It looks like dragEvent it’s blocked and a “forbidden direction” symbol appears on the mouse cursor.

I am passing the dragEvent from the ofApp like that:

//--------------------------------------------------------------
void ofApp::dragEvent(ofDragInfo info) {

	dataRemover.dragEvent(info);
}

What could be happening?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles