Hi,
I am trying to get my free and commercial plugins (noise reduction, color correction) to work with the Mac version of Photoline.
I call the following line of code:
PISetWatchSuspension(999);
This seems to cause Photoline to crash.
Any thoughts?
PISetWatchSuspension bug?
-
- Mitglied
- Beiträge: 5
- Registriert: Mo 06 Okt 2008 07:22
-
- Mitglied
- Beiträge: 5
- Registriert: Mo 06 Okt 2008 07:22
Re: PISetWatchSuspension bug?
Figured it out.
The following code will work:
PropertyProcs *propSuite = ((ExportRecordPtr)gFilterRecord)->propertyProcs;
if (propSuite != NULL) //Photoline won't get propSuite and therefore crash
{
err = PISetWatchSuspension(999); //We just need to send a non-zero number.
assert(err == noErr);
}
Will re-release my freeware Photoshop plugins when I get some sleep!
The following code will work:
PropertyProcs *propSuite = ((ExportRecordPtr)gFilterRecord)->propertyProcs;
if (propSuite != NULL) //Photoline won't get propSuite and therefore crash
{
err = PISetWatchSuspension(999); //We just need to send a non-zero number.
assert(err == noErr);
}
Will re-release my freeware Photoshop plugins when I get some sleep!