diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-26 04:36:43 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-26 04:36:43 +0400 |
commit | 7c08191d2f6c64f80e05c30b1a81c92bfafc9de4 (patch) | |
tree | 223ac03a39237b4b2df2da00ef7d2777759e278b | |
parent | d88a3ab4278b23a3f2d4e0020692a6470fd0e200 (diff) |
Fix for missing CustomData flag updates in the temporary code for migrating
Freestyle edge/face marks from old .blend files.
Problem report and patch by IRIE Shinsuke, many thanks!
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 082702f6d9d..2c75daf6878 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9336,6 +9336,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) medge++; fed++; } + me->cd_flag |= ME_CDFLAG_FREESTYLE_EDGE; printf("Migrated to CustomData-based Freestyle edge marks\n"); } /* Freestyle face marks */ @@ -9359,6 +9360,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) mpoly++; ffa++; } + me->cd_flag |= ME_CDFLAG_FREESTYLE_FACE; printf("Migrated to CustomData-based Freestyle face marks\n"); } } |