From cc3f7abbb09a85f8c80084ad1baecbe71369415a Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Sat, 29 Jun 2019 20:40:45 -0600 Subject: Outliner: Move sync_select_dirty_flag to new file Adds `outliner_sync.c` for the global rather than storing in Main. --- source/blender/blenkernel/BKE_main.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/blenkernel/BKE_main.h') diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h index 415a9aecd5d..1c987d5eb8e 100644 --- a/source/blender/blenkernel/BKE_main.h +++ b/source/blender/blenkernel/BKE_main.h @@ -82,10 +82,6 @@ typedef struct Main { /** All current ID's exist in the last memfile undo step. */ char is_memfile_undo_written; - /* Flag to indicate if a sync is to extend or replace the outliner selection */ - char sync_select_dirty_flag; - struct SpaceOutliner *clean_outliner; /* to store the clean outliner to be synced from */ - BlendThumbnail *blen_thumb; struct Library *curlib; @@ -136,13 +132,6 @@ typedef struct Main { struct MainLock *lock; } Main; -/* Main->sync_select_dirty_flag */ -enum { - SYNC_SELECT_NONE = 0, - SYNC_SELECT_REPLACE = 1, - SYNC_SELECT_EXTEND = 2, -}; - struct Main *BKE_main_new(void); void BKE_main_free(struct Main *mainvar); -- cgit v1.2.3