[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33357] branches/soc-2008-mxcurioni/source /blender/makesrna/intern/rna_main_api.c: Fix for a compilation issue with MinGW32.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sun Nov 28 03:48:42 CET 2010


Revision: 33357
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33357
Author:   kjym3
Date:     2010-11-28 03:48:37 +0100 (Sun, 28 Nov 2010)

Log Message:
-----------
Fix for a compilation issue with MinGW32.  The problem was reported
by Dazzle through the BA Freestyle thread, thanks!

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c

Modified: branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c	2010-11-27 19:59:00 UTC (rev 33356)
+++ branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c	2010-11-28 02:48:37 UTC (rev 33357)
@@ -472,7 +472,7 @@
 	/* XXX python now has invalid pointer? */
 }
 
-FreestyleLineStyle *rna_Main_linestyles_new(Main *bmain, char* name)
+FreestyleLineStyle *rna_Main_linestyles_new(Main *bmain, const char* name)
 {
 	FreestyleLineStyle *linestyle = FRS_new_linestyle(name, bmain);
 	linestyle->id.us--;





More information about the Bf-blender-cvs mailing list