[Bf-blender-cvs] [edc9f8b7669] master: Alembic: shortened CacheFile.filepath to 1024 bytes again

Sybren A. Stüvel noreply at git.blender.org
Wed Apr 26 10:44:49 CEST 2017


Commit: edc9f8b7669569376b815c76de623b408a1b7a1c
Author: Sybren A. Stüvel
Date:   Wed Apr 26 10:40:54 2017 +0200
Branches: master
https://developer.blender.org/rBedc9f8b7669569376b815c76de623b408a1b7a1c

Alembic: shortened CacheFile.filepath to 1024 bytes again

As per discussion on 3128600a8ab2badd9ea39c80133f15f766794ec6

===================================================================

M	source/blender/makesdna/DNA_cachefile_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_cachefile_types.h b/source/blender/makesdna/DNA_cachefile_types.h
index e6fe8102b4f..86940209089 100644
--- a/source/blender/makesdna/DNA_cachefile_types.h
+++ b/source/blender/makesdna/DNA_cachefile_types.h
@@ -47,6 +47,8 @@ enum {
 	CACHEFILE_KEYFRAME_DRAWN = (1 << 0),
 };
 
+/* Representation of an object's path inside the Alembic file.
+ * Note that this is not a file path. */
 typedef struct AlembicObjectPath {
 	struct AlembicObjectPath *next, *prev;
 
@@ -64,7 +66,7 @@ typedef struct CacheFile {
 	 * CacheFile. */
 	ListBase object_paths;
 
-	char filepath[4096];  /* 4096 = PATH_MAX */
+	char filepath[1024];  /* 1024 = FILE_MAX */
 
 	char is_sequence;
 	char forward_axis;




More information about the Bf-blender-cvs mailing list