Cycles: Don't shadow loop variable

This commit is contained in:
Mai Lavelle 2016-11-20 11:46:43 -05:00
parent f68ef05a56
commit b86c6aa6be
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ void MeshManager::update_svm_attributes(Device *device, DeviceScene *dscene, Sce
}
/* terminator */
for(int i = 0; i < ATTR_PRIM_TYPES; i++) {
for(int j = 0; j < ATTR_PRIM_TYPES; j++) {
attr_map[index].x = ATTR_STD_NONE;
attr_map[index].y = 0;
attr_map[index].z = 0;