Post #2933: Hi @thomas_p , yes try this code in Custom tab:

📋 Metadata

🏷️ Tags

popup-dialog custom-scripting advanced solved

  • Popup Dialog Editor
  • Custom Icons
  • Python Scripting

💬 Content

Hi @thomas_p , yes try this code in Custom tab:

prop = None; prop = "show_vertex_normals" if C.mode == 'EDIT_MESH' else prop; prop = "show_curve_normals" if C.mode == 'EDIT_CURVE' else prop; L.prop(C.space_data.overlay, prop) if prop else L.separator()

❤️ 2 likes


🔗 View on Blender Artists