forked from bartvdbraak/blender
Proper fix for T54337
Accidentally checked the wrong variable in fa01a1738bd1e3a6750ff.
This commit is contained in:
parent
677d699645
commit
49f77b0d83
@ -204,7 +204,7 @@ public:
|
||||
src = dest;
|
||||
}
|
||||
|
||||
if(num_refiner_verts) {
|
||||
if(num_local_points) {
|
||||
patch_table->ComputeLocalPointValues(&verts[0], &verts[num_refiner_verts]);
|
||||
}
|
||||
|
||||
@ -238,7 +238,7 @@ public:
|
||||
src = dest;
|
||||
}
|
||||
|
||||
if(num_refiner_verts) {
|
||||
if(num_local_points) {
|
||||
if(attr.same_storage(attr.type, TypeDesc::TypeFloat)) {
|
||||
patch_table->ComputeLocalPointValues((OsdValue<float>*)&attr.buffer[0],
|
||||
(OsdValue<float>*)&attr.buffer[num_refiner_verts * attr.data_sizeof()]);
|
||||
|
Loading…
Reference in New Issue
Block a user