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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-03-26 11:28:24 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-03-26 11:28:24 +0300
commit63e40dbe0e4fcee2f96eb0f16bc511e019e0d509 (patch)
tree24e49ca9db303b52fb9d8fd190b7a23f4f71239b /source/blender/blenloader
parent02a7063a0922c6c59a9f71ea2627e4f211a79899 (diff)
Fix #26582, #26586, #26613: recent normal calculation changes didn't take
into account that some tools use normals for things other than display. Now we properly initialize vertex normals at flat faces too. Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal calculation code.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 22ce3bd590a..647352ec727 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -11552,7 +11552,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
}
- if (main->versionfile < 256 || (main->versionfile == 256 && main->subversionfile <4)){
+ if (main->versionfile < 256 || (main->versionfile == 256 && main->subversionfile < 5)){
Mesh *me;
for(me= main->mesh.first; me; me= me->id.next)