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>2020-07-19 14:58:49 +0300
committerJacques Lucke <jacques@blender.org>2020-07-19 14:58:58 +0300
commit5063820c9b7fdc499c0aa16ca850541101ffda09 (patch)
tree45541e8148069cabdadfd9ac4dc00558498e73c0 /source/blender/modifiers/intern/MOD_simulation.cc
parent8c90910dcc3ac56ecaa3f0d0ed1a43a423ff687f (diff)
Particles: Emit particles over time
This adds a basic internal emitter for every particle simulation. The emitter cannot be controlled by the user yet. That will come next.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_simulation.cc')
-rw-r--r--source/blender/modifiers/intern/MOD_simulation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_simulation.cc b/source/blender/modifiers/intern/MOD_simulation.cc
index 38dc1546763..819ed320255 100644
--- a/source/blender/modifiers/intern/MOD_simulation.cc
+++ b/source/blender/modifiers/intern/MOD_simulation.cc
@@ -129,7 +129,7 @@ static PointCloud *modifyPointCloud(ModifierData *md,
memcpy(pointcloud->co, positions, sizeof(float3) * state->tot_particles);
for (int i = 0; i < state->tot_particles; i++) {
- pointcloud->radius[i] = 0.1f;
+ pointcloud->radius[i] = 0.03f;
}
return pointcloud;