Post

Replies

Boosts

Views

Activity

FxPlug FxOnScreenControl wrong behavior in FCPX 10.2.1
Hi all,I'm not sure if I'm posting to the right forum, but I haven't found the forum specific to FxPlug SDK and I hope somebody here could help me.I have a problem with FxOnScreenControl behavior. I'm writing a plugin that displays some controls over video. It works in kFxDrawingCoordinates_OBJECT coordinate space. Things work just fine in FCPX 10.1.4. But if I switch to FCPX 10.2.1 then all coordinates I get in my implementation of FxOnScreenControl are stretched.The documentation states that with this coordinate space all coordinates should be normalized and be in a range of [0;1], it is so in FCPX 10.1.4, but in FCPX 10.2.1 I get coordinates in a range of [-0.25;1.25] in functions like mouseDragged, mouseDown, mouseUp. At the same time the drawOSC still expects the drawing coordinates to be in the range of [0;1]I've made a quick test and it looks like mouse coordinates and drawing cordinates lay in the same space if I switch to kFxDrawingCoordinates_CANVAS.Is it a bug in FCPX or should there be any ways I could use to normalize coordinates?
1
0
627
Sep ’15