forked from bartvdbraak/blender
- typo: from "lenght" to "length" in rna
fixes [#22997] typo in autocomplete/python api name in bpy.context.active_object.data.draw_edge_lenght not length https://projects.blender.org/tracker/index.php?func=detail&aid=22997&group_id=9&atid=498 no addons are affected by this change - also found a typo in particles toolbar
This commit is contained in:
parent
eabbbcdff9
commit
0eca3db6c5
@ -2079,7 +2079,7 @@ class VIEW3D_PT_view3d_meshdisplay(bpy.types.Panel):
|
||||
|
||||
col.separator()
|
||||
col.label(text="Numerics:")
|
||||
col.prop(mesh, "draw_edge_lenght")
|
||||
col.prop(mesh, "draw_edge_length")
|
||||
col.prop(mesh, "draw_edge_angle")
|
||||
col.prop(mesh, "draw_face_area")
|
||||
|
||||
|
@ -1355,7 +1355,7 @@ class VIEW3D_PT_tools_particlemode(View3DPanel):
|
||||
col = layout.column(align=True)
|
||||
col.active = pe.editable
|
||||
col.label(text="Keep:")
|
||||
col.prop(pe, "keep_lengths", text="Lenghts")
|
||||
col.prop(pe, "keep_lengths", text="Lengths")
|
||||
col.prop(pe, "keep_root", text="Root")
|
||||
if not pe.hair:
|
||||
col.label(text="Correct:")
|
||||
|
@ -1845,7 +1845,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Draw Sharp", "Displays sharp edges, used with the EdgeSplit modifier");
|
||||
RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
|
||||
|
||||
prop= RNA_def_property(srna, "draw_edge_lenght", PROP_BOOLEAN, PROP_NONE);
|
||||
prop= RNA_def_property(srna, "draw_edge_length", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_DRAW_EDGELEN);
|
||||
RNA_def_property_ui_text(prop, "Edge Length", "Displays selected edge lengths");
|
||||
RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
|
||||
|
Loading…
Reference in New Issue
Block a user