Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-04-26 11:40:54 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-04-26 11:42:20 +0300
commitedc9f8b7669569376b815c76de623b408a1b7a1c (patch)
tree7a748179be5a2909c56f5be888a1b70030efc6d2 /source/blender/makesdna
parent268cb5fbd346d29502f63cd79572a817ed117c46 (diff)
Alembic: shortened CacheFile.filepath to 1024 bytes again
As per discussion on 3128600a8ab2badd9ea39c80133f15f766794ec6
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_cachefile_types.h4
1 files changed, 3 insertions, 1 deletions
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;