diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-12 18:15:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-12 18:15:40 +0300 |
commit | a5e59ede6e275d89fb74ab2e2ae1ee581e08356b (patch) | |
tree | 16f9ff2f605108147d1ef2c88975f4c93b419408 /source/blender/blenloader/BLO_readfile.h | |
parent | f6b21ecf840627f384c84e1a869ca54698792a87 (diff) |
pass report list along to BLO_blendhandle_from_file(), avoid unlikely crash in the append operator.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index f890f169eec..bbe444eff5c 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -120,11 +120,13 @@ BLO_blendfiledata_free( * Open a blendhandle from a file path. * * @param file The file path to open. + * @param reports Report errors in opening the file (can be NULL). * @return A handle on success, or NULL on failure. */ BlendHandle* BLO_blendhandle_from_file( - char *file); + char *file, + struct ReportList *reports); /** * Open a blendhandle from memory. |