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/makesdna/DNA_view2d_types.h
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/makesdna/DNA_view2d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view2d_types.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h
index 63038b6be2d..085f463a1cc 100644
--- a/source/blender/makesdna/DNA_view2d_types.h
+++ b/source/blender/makesdna/DNA_view2d_types.h
@@ -67,13 +67,6 @@ typedef struct View2D {
/** Pivot point for transforms (rotate and scale). */
short around;
- /** Different offset per tab, for buttons. */
- float *tab_offset;
- /** Number of tabs stored. */
- int tab_num;
- /** Current tab. */
- int tab_cur;
-
/* Usually set externally (as in, not in view2d files). */
/** Alpha of vertical and horizontal scrollbars (range is [0, 255]). */
char alpha_vert, alpha_hor;