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:
authorJulian Eisel <eiseljulian@gmail.com>2019-09-20 16:35:28 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-09-20 16:35:28 +0300
commitb20182e334180d751acff4565d2cf061dcb90add (patch)
treede1e3124d21cc98fce6b46773aff8d2e5c8249b9 /source/blender/editors/space_file/file_intern.h
parentd1cc340e56691cb82e444289415ede24ba4d2bc0 (diff)
Refactor: Ensure there's always a valid file editor tool region
So far the file browser code had some lazy creation for the tool region, even though it should always be there. The only reason I can see for this is compatiblity. So I simply added versioning code to add the region in case it's not there. Now we should be able to savely assume the tool region to be there, whithout any unusual lazy-creation.
Diffstat (limited to 'source/blender/editors/space_file/file_intern.h')
-rw-r--r--source/blender/editors/space_file/file_intern.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h
index 701c28abfa2..96a9828236a 100644
--- a/source/blender/editors/space_file/file_intern.h
+++ b/source/blender/editors/space_file/file_intern.h
@@ -109,8 +109,6 @@ void file_sfile_to_operator_ex(bContext *C,
char *filepath);
void file_sfile_to_operator(bContext *C, struct wmOperator *op, struct SpaceFile *sfile);
-struct ARegion *file_tools_region_ensure(struct ScrArea *sa, struct ARegion *ar_prev);
-
void file_operator_to_sfile(bContext *C, struct SpaceFile *sfile, struct wmOperator *op);
/* filesel.c */