MacOS plugin help

A forum dedicated to George scripting questions
Post Reply
MightyNice
Posts: 10
Joined: 02 Jun 2023, 08:19

MacOS plugin help

Post by MightyNice »

Hi, not scripting, but a SDK question. Hopefully someone can point me into the right direction.

I got my simple plugin compiling and working on windows.

However, on macOS using xcode, the plugin will load when TVPaint first opens. However, if I close it (closes cleanly), I then go to the plugin menu to load it, and nothing happens! PI_OPEN is not called, or the PI_MSG PICBREQ_OPEN event.

If I close and reopen TVPaint, the plugin PI_OPEN entry point runs fine.

thanks for any tips!
MightyNice
Posts: 10
Joined: 02 Jun 2023, 08:19

Re: MacOS plugin help

Post by MightyNice »

Did some more testing and my plugin will load if I create an action on a custom panel. (via Set Plugin).

When I press the button, the plugin entry point PI_Parameters is run, and then the PICBREQ_OPEN event message. However, selecting it under the plugin menu does nothing at all.

As mentioned before, the PI_Open runs ok when TVPaint starts up as well.

Tried with 11.7.1 and 11.7.3 (64 bit) on Mac. Everything is fine on Windows so I have been trying different x-code project settings, but same result.
Post Reply