From 71298a1da9718871b3ac063f814d10e6df98d406 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Wed, 13 May 2020 17:07:32 +0200 Subject: Revert "GPencil: Add new X-Ray option for Canvas Grid" This reverts commit fd025b0b7a46c5e56f348b73cf989c6bbddec707. --- source/blender/makesrna/intern/rna_space.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 326dd88dc59..d4d35e07c2a 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -3852,11 +3852,6 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna) prop, "Fade Grease Pencil Objects", "Fade Grease Pencil Objects, except the active one"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, "rna_GPencil_update"); - prop = RNA_def_property(srna, "use_gpencil_canvas_xray", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "gp_flag", V3D_GP_SHOW_GRID_XRAY); - RNA_def_property_ui_text(prop, "Canvas X-Ray", "Put Canvas grid on top of any other object"); - RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, "rna_GPencil_update"); - prop = RNA_def_property(srna, "use_gpencil_show_directions", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "gp_flag", V3D_GP_SHOW_STROKE_DIRECTION); RNA_def_property_ui_text(prop, -- cgit v1.2.3