THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/09/2006 at 14:12, xxxxxxxx wrote:
Cinema 4D Version: 9.102
Platform: Mac OSX ;
Language(s) : C++ ;
This problem has come up occasionally with MacOS users of my plugin - they enable logging and the log file cannot be written to or they go to convert a BUM map to a JPG image and it cannot be written. Seems that if the file exists, there may be a problem writing it.
Now in the case of the JPG image write, I use the standard:
bdata.SetLong(JPGSAVER_QUALITY, 100); if (normalMap->Save(bumFile, FILTER_JPG, &bdata;, 0) != IMAGE_OK) ...
The only time this fails is on MacOS and if the file referenced by Filename 'bumFile' already exists.
This could be a MacOS permissions problem, but I'd like some official reason for these problems and a way to resolve them, please.
Thank you very much,