Theme: Remove TH_UV_OTHERS from bTheme
`TH_UV_OTHERS` is a theme option that isn't hooked to anything since blender 2.80. This patch will remove the option and related code. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D8669
This commit is contained in:
committed by
Jeroen Bakker
parent
1cac6fe542
commit
95cc709612
@@ -262,7 +262,6 @@ typedef enum ThemeColorID {
|
||||
TH_PAINT_CURVE_PIVOT,
|
||||
|
||||
TH_UV_SHADOW,
|
||||
TH_UV_OTHERS,
|
||||
|
||||
TH_FREESTYLE_EDGE_MARK,
|
||||
TH_FREESTYLE_FACE_MARK,
|
||||
|
||||
@@ -774,9 +774,6 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
|
||||
cp = ts->metadatatext;
|
||||
break;
|
||||
|
||||
case TH_UV_OTHERS:
|
||||
cp = ts->uv_others;
|
||||
break;
|
||||
case TH_UV_SHADOW:
|
||||
cp = ts->uv_shadow;
|
||||
break;
|
||||
|
||||
@@ -327,7 +327,7 @@ typedef struct ThemeSpace {
|
||||
unsigned char syntaxd[4], syntaxr[4]; // in nodespace used for distort
|
||||
|
||||
unsigned char line_numbers[4];
|
||||
char _pad6[7];
|
||||
char _pad6[3];
|
||||
|
||||
unsigned char nodeclass_output[4], nodeclass_filter[4];
|
||||
unsigned char nodeclass_vector[4], nodeclass_texture[4];
|
||||
@@ -372,8 +372,6 @@ typedef struct ThemeSpace {
|
||||
|
||||
/** Two uses, for uvs with modifier applied on mesh and uvs during painting. */
|
||||
unsigned char uv_shadow[4];
|
||||
/** Uvs of other objects. */
|
||||
unsigned char uv_others[4];
|
||||
|
||||
/** Outliner - filter match. */
|
||||
unsigned char match[4];
|
||||
|
||||
@@ -3039,12 +3039,6 @@ static void rna_def_userdef_theme_space_image(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Texture paint/Modifier UVs", "");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
prop = RNA_def_property(srna, "uv_others", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
RNA_def_property_float_sdna(prop, NULL, "uv_others");
|
||||
RNA_def_property_array(prop, 4);
|
||||
RNA_def_property_ui_text(prop, "Other Object UVs", "");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
prop = RNA_def_property(srna, "frame_current", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
RNA_def_property_float_sdna(prop, NULL, "cframe");
|
||||
RNA_def_property_array(prop, 3);
|
||||
|
||||
Submodule source/tools updated: 44ae9d181c...f4aa2de034
Reference in New Issue
Block a user