Cleanup: remove used FileData flag
Pull Request: https://projects.blender.org/blender/blender/pulls/124784
This commit is contained in:
@@ -1367,7 +1367,7 @@ void blo_filedata_free(FileData *fd)
|
||||
if (fd->globmap) {
|
||||
oldnewmap_free(fd->globmap);
|
||||
}
|
||||
if (fd->libmap && !(fd->flags & FD_FLAGS_NOT_MY_LIBMAP)) {
|
||||
if (fd->libmap) {
|
||||
oldnewmap_free(fd->libmap);
|
||||
}
|
||||
if (fd->old_idmap_uid != nullptr) {
|
||||
|
||||
@@ -43,10 +43,8 @@ enum eFileDataFlag {
|
||||
FD_FLAGS_POINTSIZE_DIFFERS = 1 << 2,
|
||||
FD_FLAGS_FILE_OK = 1 << 3,
|
||||
FD_FLAGS_IS_MEMFILE = 1 << 4,
|
||||
/* XXX Unused in practice (checked once but never set). */
|
||||
FD_FLAGS_NOT_MY_LIBMAP = 1 << 5,
|
||||
};
|
||||
ENUM_OPERATORS(eFileDataFlag, FD_FLAGS_NOT_MY_LIBMAP)
|
||||
ENUM_OPERATORS(eFileDataFlag, FD_FLAGS_IS_MEMFILE)
|
||||
|
||||
/* Disallow since it's 32bit on ms-windows. */
|
||||
#ifdef __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user