Misleading return val of RenderDocument()
- 
 THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED On 12/08/2009 at 15:21, xxxxxxxx wrote: User Information: 
 Cinema 4D Version: R11
 Platform: Windows ; Mac OSX ;
 Language(s) : C++ ;--------- 
 Hello,
 when you call RenderDocument() an image that is too small to cover the rendering, nothing is rendered _but_ RAY_OK is returned.like: RenderData* rdata = doc->GetActiveRenderData(); 
 BaseContainer _rdata = rdata->GetData();AutoAlloc<BaseBitmap> bmp; 
 bmp->Init(_rdata.GetReal(RDATA_XRES) -1, _rdata.GetReal(RDATA_YRES) -1 ) != IMAGE_OK)if (RenderDocument(doc, _rdata, NULL, NULL, bmp, RENDERFLAG_SHOWERRORS, NULL) != RAY_OK) 
 {
 return FALSE; // this will not be reached
 }Is this by design? I'd guess that when no rendering took place the return value would be different from RAY_OK. Cheers.