diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-06-07 22:09:22 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-06-07 22:09:22 +0400 |
commit | 98444f677044c01f62b58499acde154aea5f0a69 (patch) | |
tree | 7a2e340d2065c7dfc7f990f831329b290664a18f /source/blender/blenloader | |
parent | 0fc53d8d4cbaa7004b9ced7c0bb8e3988543804e (diff) |
Multires/2.5:
Attempt to make multires updating a little cleaner by
assuming that no update needs to be performed, and only
doing the update when the modified flag is set (either
by sculpting or using some other tool that needs an update.)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index ef2f60c1803..cf26527e3f0 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9001,7 +9001,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) multires_load_old(dm, me->mr); - *MultiresDM_get_flags(dm) |= MULTIRES_DM_UPDATE_ALWAYS; + MultiresDM_mark_as_modified(dm); dm->release(dm); orig->release(orig); |