[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55581] branches/soc-2008-mxcurioni/source /blender/blenloader/intern/readfile.c: Fix for missing CustomData flag updates in the temporary code for migrating

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Tue Mar 26 01:36:44 CET 2013


Revision: 55581
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55581
Author:   kjym3
Date:     2013-03-26 00:36:43 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
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!

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.c	2013-03-26 00:32:19 UTC (rev 55580)
+++ branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.c	2013-03-26 00:36:43 UTC (rev 55581)
@@ -9336,6 +9336,7 @@
 					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 @@
 					mpoly++;
 					ffa++;
 				}
+				me->cd_flag |= ME_CDFLAG_FREESTYLE_FACE;
 				printf("Migrated to CustomData-based Freestyle face marks\n");
 			}
 		}




More information about the Bf-blender-cvs mailing list