[Bf-blender-cvs] [6f7ef81] gooseberry: Fix for incorrect DNA field name in versioning, causes constant resetting of clump noise size on reload.

Lukas Tönne noreply at git.blender.org
Mon Jan 19 15:10:31 CET 2015


Commit: 6f7ef81bb45a3066d1ca35f5311ed0145a09843c
Author: Lukas Tönne
Date:   Mon Jan 19 15:09:44 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB6f7ef81bb45a3066d1ca35f5311ed0145a09843c

Fix for incorrect DNA field name in versioning, causes constant
resetting of clump noise size on reload.

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

M	source/blender/blenloader/intern/versioning_270.c

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

diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 4bedcc6..12d8383 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -509,7 +509,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
 #undef BRUSH_RANDOM_ROTATION
 	}
 
-	if (!DNA_struct_elem_find(fd->filesdna, "ParticleSettings", "float", "clumpnoisesize")) {
+	if (!DNA_struct_elem_find(fd->filesdna, "ParticleSettings", "float", "clump_noise_size")) {
 		ParticleSettings *part;
 		for (part = main->particle.first; part; part = part->id.next) {
 			part->clump_noise_size = 1.0f;




More information about the Bf-blender-cvs mailing list