Cycles:
* Fix missing update when editing objects with emission materials. * Fix preview pass rendering set to 1 not showing full resolution. * Fix CUDA runtime compiling failing due to missing cache directory. * Use settings from first render layer for visibility and material override. And a bunch of incomplete and still disabled code mostly related to closure sampling.
This commit is contained in:
@@ -109,11 +109,16 @@ string path_files_md5_hash(const string& dir)
|
||||
return hash.get_hex();
|
||||
}
|
||||
|
||||
void path_create_directories(const string& path)
|
||||
{
|
||||
boost::filesystem::create_directories(path_dirname(path));
|
||||
}
|
||||
|
||||
bool path_write_binary(const string& path, const vector<uint8_t>& binary)
|
||||
{
|
||||
/* write binary file from memory */
|
||||
boost::filesystem::create_directories(path_dirname(path));
|
||||
path_create_directories(path);
|
||||
|
||||
/* write binary file from memory */
|
||||
FILE *f = fopen(path.c_str(), "wb");
|
||||
|
||||
if(!f)
|
||||
|
Reference in New Issue
Block a user