Post #3567: Hi @roaoao, I’m trying to add this “Add/ Clear Custom Split Norma

📋 Metadata

  • Author: anphung
  • Date: 2020-09-06 06:48:19
  • Type: question
  • Quality Score: 7/10
  • Replies (1): post_03570

🏷️ Tags

popup-dialog custom-toolbar intermediate unsolved

  • Popup Dialog Editor
  • Custom Icons
  • Python Scripting

💬 Content

Hi @roaoao, I’m trying to add this “Add/ Clear Custom Split Normals Data” button to my custom toolbar, but it only adds either Add or Clear command, not a property or toggle button.

imageimage1920×1057 311 KB

The original button is checking if the object has Custom Normals or not & showing Add or Clear based on that. How would you go about recreating such a context sensitive button?
Thank you.


🔗 View on Blender Artists