Fix #138910: Crash with sculpt mode and "Texture" shading type
Using the wrong `std::string` constructor through an alias, oops..
This commit is contained in:
@@ -190,7 +190,7 @@ Vector<SculptBatch> sculpt_batches_get(const Object *ob, SculptBatchFeature feat
|
||||
if (features & SCULPT_BATCH_UV) {
|
||||
const CustomData *corner_data = ss.bm ? &ss.bm->ldata : &mesh->corner_data;
|
||||
if (const char *name = CustomData_get_active_layer_name(corner_data, CD_PROP_FLOAT2)) {
|
||||
attrs.append(pbvh::GenericRequest{name, CD_PROP_FLOAT2});
|
||||
attrs.append(pbvh::GenericRequest(name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user