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:
Submodule release/datafiles/locale updated: bc6623180a...260b439d0f
@@ -710,7 +710,6 @@ const bTheme U_theme_default = {
|
||||
.preview_stitch_unstitchable = RGBA(0xff0000ff),
|
||||
.preview_stitch_active = RGBA(0xe1d2c323),
|
||||
.uv_shadow = RGBA(0x707070ff),
|
||||
.uv_others = RGBA(0x606060ff),
|
||||
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
||||
.paint_curve_handle = RGBA(0x7fff7f7f),
|
||||
.metadatatext = RGBA(0xffffffff),
|
||||
|
Submodule release/scripts/addons updated: 1bc96468a1...b47b6e554b
@@ -735,7 +735,6 @@
|
||||
preview_stitch_unstitchable="#ff0000ff"
|
||||
preview_stitch_active="#e1d2c323"
|
||||
uv_shadow="#707070ff"
|
||||
uv_others="#606060ff"
|
||||
frame_current="#5680c2"
|
||||
metadatabg="#000000"
|
||||
metadatatext="#ffffff"
|
||||
|
@@ -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