[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46262] trunk/blender/source/blender/ makesdna/intern/makesdna.c: Throw an error and prevent compilation if there 're unknown structures detected by DNA

Sergey Sharybin sergey.vfx at gmail.com
Fri May 4 10:18:47 CEST 2012


Revision: 46262
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46262
Author:   nazgul
Date:     2012-05-04 08:18:47 +0000 (Fri, 04 May 2012)
Log Message:
-----------
Throw an error and prevent compilation if there're unknown structures detected by DNA

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/intern/makesdna.c

Modified: trunk/blender/source/blender/makesdna/intern/makesdna.c
===================================================================
--- trunk/blender/source/blender/makesdna/intern/makesdna.c	2012-05-04 08:00:58 UTC (rev 46261)
+++ trunk/blender/source/blender/makesdna/intern/makesdna.c	2012-05-04 08:18:47 UTC (rev 46262)
@@ -874,6 +874,8 @@
 				printf("  %s\n", types[structtype]);
 			}
 		}
+
+		dna_error = 1;
 	}
 
 	return(dna_error);




More information about the Bf-blender-cvs mailing list