[Bf-blender-cvs] [28817c82f13] blender2.8: Alembic export: no need to check particle's mesh_final on export

Sybren A. Stüvel noreply at git.blender.org
Thu Jun 7 19:03:18 CEST 2018


Commit: 28817c82f133b98d58dab06591347200da855817
Author: Sybren A. Stüvel
Date:   Thu Jun 7 18:35:07 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB28817c82f133b98d58dab06591347200da855817

Alembic export: no need to check particle's mesh_final on export

Hair writing is still not working properly, though, but at least now
samples are written at all.

===================================================================

M	source/blender/alembic/intern/abc_hair.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_hair.cc b/source/blender/alembic/intern/abc_hair.cc
index b5adc4486a7..be7ad90dc31 100644
--- a/source/blender/alembic/intern/abc_hair.cc
+++ b/source/blender/alembic/intern/abc_hair.cc
@@ -72,13 +72,6 @@ void AbcHairWriter::do_write()
 	if (!m_psys) {
 		return;
 	}
-
-	ParticleSystemModifierData *psmd = psys_get_modifier(m_object, m_psys);
-
-	if (!psmd->mesh_final) {
-		return;
-	}
-
 	Mesh *mesh = mesh_get_eval_final(m_settings.depsgraph, m_settings.scene, m_object, CD_MASK_MESH);
 	BKE_mesh_tessface_ensure(mesh);



More information about the Bf-blender-cvs mailing list