Fix T67724: Cycles renders metaballs with wrong texture space
This commit is contained in:
parent
08b0c08577
commit
ee44f8a289
Notes:
blender-bot
2023-03-24 17:05:22 +01:00
Referenced by issue #67724, Textures on metaballs have different scale in Eevee and Cycles
|
@ -1080,6 +1080,7 @@ static Mesh *mesh_new_from_mball_object(Object *object)
|
|||
|
||||
Mesh *mesh_result = BKE_id_new_nomain(ID_ME, ((ID *)object->data)->name + 2);
|
||||
BKE_mesh_from_metaball(&object->runtime.curve_cache->disp, mesh_result);
|
||||
BKE_mesh_texspace_copy_from_object(mesh_result, object);
|
||||
|
||||
/* Copy materials. */
|
||||
mesh_result->totcol = mball->totcol;
|
||||
|
|
Loading…
Reference in New Issue