UI: preference for developer extras
Currently only used for "Edit Source" feature.
This commit is contained in:
@@ -223,6 +223,7 @@ class USERPREF_PT_interface(Panel):
|
||||
col.prop(view, "ui_line_width", text="Line Width")
|
||||
col.prop(view, "show_tooltips")
|
||||
col.prop(view, "show_tooltips_python")
|
||||
col.prop(view, "show_developer_ui")
|
||||
col.prop(view, "show_object_info", text="Object Info")
|
||||
col.prop(view, "show_large_cursors")
|
||||
col.prop(view, "show_view_name", text="View Name")
|
||||
|
@@ -3728,7 +3728,7 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
|
||||
col.label(text="Face Info:")
|
||||
col.prop(mesh, "show_extra_face_area", text="Area")
|
||||
col.prop(mesh, "show_extra_face_angle", text="Angle")
|
||||
if bpy.app.debug:
|
||||
if context.user_preferences.view.show_developer_ui:
|
||||
layout.prop(mesh, "show_extra_indices")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user