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:
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index a7ab1536b1f..4a8f029beee 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -47,6 +47,7 @@
#include "BKE_effect.h"
#include "BKE_lib_id.h"
#include "BKE_lib_query.h"
+#include "BKE_mesh_legacy_convert.h"
#include "BKE_particle.h"
#include "BKE_bvhutils.h"
@@ -3121,7 +3122,7 @@ static void collision_check(ParticleSimulationData *sim, int p, float dfra, floa
col.cfra = cfra;
col.old_cfra = sim->psys->cfra;
- /* get acceleration (from gravity, forcefields etc. to be re-applied in collision response) */
+ /* Get acceleration (from gravity, force-fields etc. to be re-applied in collision response). */
sub_v3_v3v3(col.acc, pa->state.vel, pa->prev_state.vel);
mul_v3_fl(col.acc, 1.0f / col.total_time);
@@ -4962,7 +4963,7 @@ void particle_system_update(struct Depsgraph *depsgraph,
}
/* Save matrix for duplicators,
- * at rendertime the actual dupliobject's matrix is used so don't update! */
+ * at render-time the actual dupli-object's matrix is used so don't update! */
invert_m4_m4(psys->imat, ob->obmat);
BKE_particle_batch_cache_dirty_tag(psys, BKE_PARTICLE_BATCH_DIRTY_ALL);