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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-26 04:36:43 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-26 04:36:43 +0400
commit7c08191d2f6c64f80e05c30b1a81c92bfafc9de4 (patch)
tree223ac03a39237b4b2df2da00ef7d2777759e278b
parentd88a3ab4278b23a3f2d4e0020692a6470fd0e200 (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.c2
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");
}
}