Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-03-02 19:12:56 +0300
committerJacques Lucke <jacques@blender.org>2022-03-02 19:12:56 +0300
commit2fb31f34af84c39116742e20a12222099cd0ff9a (patch)
tree82f1144a9380b18accc037b2f554db4ec1595368 /source/blender/io
parent216a215ba58ac67af5e7bfa334bbcef4e812ea3f (diff)
Fix T95692: incorrect interpolated children particle hair
Differential Revision: https://developer.blender.org/D14227
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_hair.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/io/alembic/exporter/abc_writer_hair.cc b/source/blender/io/alembic/exporter/abc_writer_hair.cc
index e8c156a2b8d..035638dcb99 100644
--- a/source/blender/io/alembic/exporter/abc_writer_hair.cc
+++ b/source/blender/io/alembic/exporter/abc_writer_hair.cc
@@ -174,7 +174,8 @@ void ABCHairWriter::write_hair_sample(const HierarchyContext &context,
psys_interpolate_uvs(tface, face->v4, pa->fuv, r_uv);
uv_values.emplace_back(r_uv[0], r_uv[1]);
- psys_interpolate_face(mverts,
+ psys_interpolate_face(mesh,
+ mverts,
vert_normals,
face,
tface,
@@ -289,7 +290,8 @@ void ABCHairWriter::write_hair_child_sample(const HierarchyContext &context,
psys_interpolate_uvs(tface, face->v4, pc->fuv, r_uv);
uv_values.emplace_back(r_uv[0], r_uv[1]);
- psys_interpolate_face(mverts,
+ psys_interpolate_face(mesh,
+ mverts,
vert_normals,
face,
tface,