Post #2932: : post_02933
🏷️ Tags
pie-menu custom-properties intermediate
⚙️ Related PME Features
- Pie Menu Editor
- Custom Python Scripting
- Property Editor
💬 Content
roaoao:
The problem is in
Auto Smooth Angleslot. Empties don’t have this property.
Try to use this code instead inCustomtab:L.column().prop(C.object.data, ‘auto_smooth_angle’, text=‘’) if hasattr(C.object.data, ‘auto_smooth_angle’) else L.separator()
Hi,
I wonder if this principle could be applied to create a single toggle for normals display that depending on the selection handles either
overlay.show_vertex_normals or overlay.show_curve_normals ?