[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29489] trunk/blender/source/blender/ blenlib/intern/path_util.c: Fix Bug #22324
Diego Borghetti
bdiego at gmail.com
Wed Jun 16 18:42:40 CEST 2010
Revision: 29489
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29489
Author: bdiego
Date: 2010-06-16 18:42:40 +0200 (Wed, 16 Jun 2010)
Log Message:
-----------
Fix Bug #22324
Blender crashes when wiring an image input to an image output in the
compositor (not the same image)
The string to keep the full path was usign FILE_MAXDIR, when
has to be both, FILE_MAXDIR + FILE_MAXFILE (240, like FILE_MAX).
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/path_util.c
Modified: trunk/blender/source/blender/blenlib/intern/path_util.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/path_util.c 2010-06-16 13:34:54 UTC (rev 29488)
+++ trunk/blender/source/blender/blenlib/intern/path_util.c 2010-06-16 16:42:40 UTC (rev 29489)
@@ -1010,8 +1010,8 @@
void BLI_make_existing_file(char *name)
{
- char di[FILE_MAXDIR], fi[FILE_MAXFILE];
-
+ char di[FILE_MAXDIR+FILE_MAXFILE], fi[FILE_MAXFILE];
+
strcpy(di, name);
BLI_splitdirstring(di, fi);
More information about the Bf-blender-cvs
mailing list