[Bf-blender-cvs] [9aab1a46263] master: Cleanup: unused code

Pablo Vazquez noreply at git.blender.org
Thu Oct 21 22:02:57 CEST 2021


Commit: 9aab1a46263a87980efa18ba35d87814eb2f4cda
Author: Pablo Vazquez
Date:   Thu Oct 21 22:02:45 2021 +0200
Branches: master
https://developer.blender.org/rB9aab1a46263a87980efa18ba35d87814eb2f4cda

Cleanup: unused code

Also fixes incompatible types.

===================================================================

M	source/blender/editors/include/UI_resources.h
M	source/blender/editors/interface/resources.c

===================================================================

diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h
index 7235d57d667..61da496d344 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -240,7 +240,6 @@ typedef enum ThemeColorID {
 
   TH_NODE_CURVING,
   TH_NODE_GRID_LEVELS,
-  TH_NODE_DASH_ALPHA,
 
   TH_MARKER_OUTLINE,
   TH_MARKER,
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 91832e1437c..ad7c6332ee9 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -657,9 +657,6 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
         case TH_NODE_GRID_LEVELS:
           cp = &ts->grid_levels;
           break;
-        case TH_NODE_DASH_ALPHA:
-          cp = &ts->dash_alpha;
-          break;
 
         case TH_SEQ_MOVIE:
           cp = ts->movie;



More information about the Bf-blender-cvs mailing list