Cycles: Don't shadow loop variable
This commit is contained in:
parent
f68ef05a56
commit
b86c6aa6be
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue