diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index cc9f4b301d5..97959ba8899 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2521,6 +2521,9 @@ static int rna_FileBrowser_FSMenu_active_get(PointerRNA *ptr, const FSMenuCatego case FS_CATEGORY_RECENT: actnr = sf->recentnr; break; + case FS_CATEGORY_OTHER: + /* pass. */ + break; } return actnr; @@ -2548,6 +2551,9 @@ static void rna_FileBrowser_FSMenu_active_set(PointerRNA *ptr, case FS_CATEGORY_RECENT: sf->recentnr = value; break; + case FS_CATEGORY_OTHER: + /* pass. */ + break; } BLI_strncpy(sf->params->dir, fsm->path, sizeof(sf->params->dir)); |