[Bf-cycles] consequence of commenting out some portions of code
Mohamed Sakr
3dsakr at gmail.com
Sat Jan 30 19:47:42 CET 2016
Hi,
in an approach of using background = false "without drawing".
found that I'm forced to comment out this part:
if(!(params.background && params.output_path.empty())) {
tile_manager.state.buffer.get_offset_stride(rtile.offset, rtile.stride);
rtile.buffer = buffers->buffer.device_pointer;
rtile.rng_state = buffers->rng_state.device_pointer;
rtile.buffers = buffers;
device->map_tile(tile_device, rtile);
return true;
}
once I do so, everything goes fine!
any idea if this will cause memory leak or any unexpected behavior?
cheers,
Mohamed Sakr
More information about the Bf-cycles
mailing list