forked from bartvdbraak/blender
Fix for DeviceScene::attributes_uchar4 not released properly
Reviewed by: dingto Differential Revision: https://developer.blender.org/D620
This commit is contained in:
parent
bd777ffd3b
commit
0a0e4e0e69
@ -1131,6 +1131,7 @@ void MeshManager::device_free(Device *device, DeviceScene *dscene)
|
||||
device->tex_free(dscene->attributes_map);
|
||||
device->tex_free(dscene->attributes_float);
|
||||
device->tex_free(dscene->attributes_float3);
|
||||
device->tex_free(dscene->attributes_uchar4);
|
||||
|
||||
dscene->bvh_nodes.clear();
|
||||
dscene->object_node.clear();
|
||||
@ -1148,6 +1149,7 @@ void MeshManager::device_free(Device *device, DeviceScene *dscene)
|
||||
dscene->attributes_map.clear();
|
||||
dscene->attributes_float.clear();
|
||||
dscene->attributes_float3.clear();
|
||||
dscene->attributes_uchar4.clear();
|
||||
|
||||
#ifdef WITH_OSL
|
||||
OSLGlobals *og = (OSLGlobals*)device->osl_memory();
|
||||
|
Loading…
Reference in New Issue
Block a user