[Bf-blender-cvs] [882642157c2] fracture_modifier: disable deform mblur in FM for now (precalced velocities)

Martin Felke noreply at git.blender.org
Fri Aug 10 13:50:37 CEST 2018


Commit: 882642157c2b4e2771261b414d63f1f1b9529823
Author: Martin Felke
Date:   Fri Aug 10 13:49:39 2018 +0200
Branches: fracture_modifier
https://developer.blender.org/rB882642157c2b4e2771261b414d63f1f1b9529823

disable deform mblur in FM for now (precalced velocities)

it caused crashes at baking and rendering, as well as on saving and loading.
Needs to be re-implemented differently without customdata, rather let cycles read the rigidbody
data directly via FM.

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

M	source/blender/blenkernel/intern/fracture.c

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

diff --git a/source/blender/blenkernel/intern/fracture.c b/source/blender/blenkernel/intern/fracture.c
index 1602afa4370..79b8c15f0c1 100644
--- a/source/blender/blenkernel/intern/fracture.c
+++ b/source/blender/blenkernel/intern/fracture.c
@@ -3867,6 +3867,7 @@ void BKE_update_acceleration_map(FractureModifierData *fmd, MeshIsland* mi, Obje
 
 void BKE_update_velocity_layer(FractureModifierData *fmd, MeshIsland *mi)
 {
+#if 0
 	DerivedMesh *dm = fmd->visible_mesh_cached;
 	float *velX=NULL, *velY=NULL, *velZ = NULL;
 	RigidBodyOb *rbo = mi->rigidbody;
@@ -3934,6 +3935,7 @@ void BKE_update_velocity_layer(FractureModifierData *fmd, MeshIsland *mi)
 		velY[mi->vertex_indices[i]] = rbo->lin_vel[1] + rbo->ang_vel[1];
 		velZ[mi->vertex_indices[i]] = rbo->lin_vel[2] + rbo->ang_vel[2];
 	}
+#endif
 }
 
 /* gah, it could be that simple, if each mod handled its stuff itself */



More information about the Bf-blender-cvs mailing list