* Compile fix when building without OSL.
This commit is contained in:
Thomas Dinges 2013-02-14 19:30:25 +00:00
parent 10305de3ac
commit cb75d64f7d

@ -967,6 +967,7 @@ void MeshManager::device_free(Device *device, DeviceScene *dscene)
dscene->attributes_float.clear();
dscene->attributes_float3.clear();
#ifdef WITH_OSL
OSLGlobals *og = (OSLGlobals*)device->osl_memory();
if(og) {
@ -974,6 +975,7 @@ void MeshManager::device_free(Device *device, DeviceScene *dscene)
og->attribute_map.clear();
og->object_names.clear();
}
#endif
}
void MeshManager::tag_update(Scene *scene)