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:
authorHans Goudey <h.goudey@me.com>2020-09-30 20:21:35 +0300
committerHans Goudey <h.goudey@me.com>2020-09-30 20:21:35 +0300
commit8cbd09672d880c4f9774b6b0d1990fc927ae0853 (patch)
tree67634ad3fec4e466c7356b57968820db03705c71 /source/blender/blenloader/intern
parent65e4bfe2f0c233a9df45b620f49a7093e9cc2edf (diff)
Cleanup: Remove unused View2D variables and function
It looks like this code was left over from tabbed panels in the properties editor. It wasn't used anywhere except for in one line of the horizontally-aligned panel code that was recently removed. Differential Revision: https://developer.blender.org/D8651
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index bec055803ed..5a995b3d750 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4974,9 +4974,6 @@ static void direct_link_region(BlendDataReader *reader, ARegion *region, int spa
}
}
- region->v2d.tab_offset = NULL;
- region->v2d.tab_num = 0;
- region->v2d.tab_cur = 0;
region->v2d.sms = NULL;
region->v2d.alpha_hor = region->v2d.alpha_vert = 255; /* visible by default */
BLI_listbase_clear(&region->panels_category);