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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-01-13 19:24:20 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-20 11:30:10 +0300
commit307c4a4df92cdde64b39e7fe28ab2db80355025f (patch)
treedef751e2e620e0172bf3c386b1300f60366c5c13 /source/blender/blenloader
parent9bf763393603a987aa95033b2da78cea501d699b (diff)
Another crappy approach to spirals on hairs, crazy expensive though.
Conflicts: source/blender/blenkernel/intern/particle.c
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 38076f6348f..ae19d6523c7 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -498,4 +498,11 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
part->clump_noise_size = 1.0f;
}
}
+
+ if (!DNA_struct_elem_find(fd->filesdna, "ParticleSettings", "int", "kink_extra_steps")) {
+ ParticleSettings *part;
+ for (part = main->particle.first; part; part = part->id.next) {
+ part->kink_extra_steps = 4;
+ }
+ }
}