forked from bartvdbraak/blender
Cycles: Fix access of NULL pointer as array
Was confusing guarded allocator for some reason.
This commit is contained in:
parent
ddb42076c9
commit
fd08570665
@ -560,6 +560,9 @@ static void attr_create_pointiness(Scene *scene,
|
||||
return;
|
||||
}
|
||||
const int num_verts = b_mesh.vertices.length();
|
||||
if(num_verts == 0) {
|
||||
return;
|
||||
}
|
||||
/* STEP 1: Find out duplicated vertices and point duplicates to a single
|
||||
* original vertex.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user