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!
This commit is contained in:
Tamito Kajiyama 2013-03-26 00:36:43 +00:00
parent d88a3ab427
commit 7c08191d2f

@ -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");
}
}