diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-21 15:10:24 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-21 15:10:40 +0300 |
commit | b7035cb8bd93d244b505264655310ef59ba0965b (patch) | |
tree | 28ed492fc160f0dffa1d9ac9209aad550d393da7 | |
parent | cfb7565cd5c19e80089d82d7034393342a24f696 (diff) |
GP: Change canvas titles
These changes are to harmonize names.
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 1b7687a22c1..8f6f3f7f4bf 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -4852,7 +4852,7 @@ class VIEW3D_PT_overlay_gpencil_options(Panel): row.prop(overlay, "gpencil_grid_scale") col = row.column() col.prop(overlay, "gpencil_grid_lines", text="Subdivisions") - col.prop(overlay, "gpencil_grid_axis") + col.prop(overlay, "gpencil_grid_axis", text="Plane") if context.object.mode in {'GPENCIL_EDIT', 'GPENCIL_SCULPT', 'GPENCIL_WEIGHT'}: layout.prop(overlay, "use_gpencil_edit_lines", text="Edit Lines") diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index db886692814..c757f648f4d 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -310,10 +310,10 @@ const EnumPropertyItem rna_enum_file_sort_items[] = { }; static const EnumPropertyItem rna_enum_gpencil_grid_axis_items[] = { - {V3D_GP_GRID_AXIS_LOCK, "LOCK", 0, "Lock", "Use current drawing locked axis" }, - {V3D_GP_GRID_AXIS_X, "X", 0, "X", ""}, - {V3D_GP_GRID_AXIS_Y, "Y", 0, "Y", ""}, - {V3D_GP_GRID_AXIS_Z, "Z", 0, "Z", ""}, + {V3D_GP_GRID_AXIS_LOCK, "LOCK", 0, "Drawing Plane", "Use current drawing locked axis" }, + {V3D_GP_GRID_AXIS_X, "X", 0, "Y-Z", ""}, + {V3D_GP_GRID_AXIS_Y, "Y", 0, "X-Z", ""}, + {V3D_GP_GRID_AXIS_Z, "Z", 0, "X-Y", ""}, {0, NULL, 0, NULL, NULL} }; @@ -2865,7 +2865,7 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna) prop = RNA_def_property(srna, "gpencil_grid_axis", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "overlay.gpencil_grid_axis"); RNA_def_property_enum_items(prop, rna_enum_gpencil_grid_axis_items); - RNA_def_property_ui_text(prop, "Axis", "Axis to display grid"); + RNA_def_property_ui_text(prop, "Canvas Plane", "Axis to display grid"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); prop = RNA_def_property(srna, "gpencil_grid_opacity", PROP_FLOAT, PROP_NONE); |