Fix show large cursor preference not being fully removed and causing warnings

This commit is contained in:
Brecht Van Lommel
2020-03-01 16:12:42 +01:00
parent 821ecbe805
commit 24ef1cf07e
3 changed files with 1 additions and 8 deletions

View File

@@ -136,7 +136,6 @@ const UserDef U_default = {
.recent_files = 10,
.smooth_viewtx = 200,
.glreslimit = 0,
.curssize = 0,
.color_picker_type = USER_CP_CIRCLE_HSV,
.auto_smoothing_new = FCURVE_SMOOTH_CONT_ACCEL,
.ipo_new = BEZT_IPO_BEZ,

View File

@@ -748,7 +748,6 @@ typedef struct UserDef {
/** Milliseconds to spend spinning the view. */
short smooth_viewtx;
short glreslimit;
short curssize DNA_DEPRECATED;
/** #eColorPicker_Types. */
short color_picker_type;
/** Curve smoothing type for newly added F-Curves. */
@@ -757,7 +756,7 @@ typedef struct UserDef {
char ipo_new;
/** Handle types for newly added keyframes. */
char keyhandles_new;
char _pad11[2];
char _pad11[4];
/** #eZoomFrame_Mode. */
char view_frame_type;

View File

@@ -4352,11 +4352,6 @@ static void rna_def_userdef_view(BlenderRNA *brna)
prop, "Display Object Info", "Display objects name and frame number in 3D view");
RNA_def_property_update(prop, 0, "rna_userdef_update");
prop = RNA_def_property(srna, "show_large_cursors", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "curssize", 0);
RNA_def_property_ui_text(prop, "Large Cursors", "Use large mouse cursors when available");
RNA_def_property_update(prop, 0, "rna_userdef_update");
prop = RNA_def_property(srna, "show_view_name", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_SHOW_VIEWPORTNAME);
RNA_def_property_ui_text(