From 9cb5f0a2282a7a84f7f8636b43a32bdc04b51cd5 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 8 Mar 2021 16:23:21 +0100 Subject: Spreadsheet: add boilerplate code for new editor type This adds the initial boilerplate code that is required to introduce the new spreadsheet editor. The editor is still hidden from the ui. It can be made visible by undoing the change in `rna_screen.c`. This patch does not contain any business logic for the spreadsheet editor. Differential Revision: https://developer.blender.org/D10645 Ref T86279. --- source/blender/blenloader/intern/versioning_userdef.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenloader/intern/versioning_userdef.c') diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 3d39181cd32..ae22c5151cc 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -282,6 +282,8 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) FROM_DEFAULT_V4_UCHAR(space_info.info_property); FROM_DEFAULT_V4_UCHAR(space_info.info_error); FROM_DEFAULT_V4_UCHAR(space_info.info_operator); + + btheme->space_spreadsheet = btheme->space_outliner; } #undef FROM_DEFAULT_V4_UCHAR -- cgit v1.2.3