Post #2174: St

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2019-04-10 16:54:09
  • Type: answer
  • Quality Score: 6/10
  • Reply to: post_02173

🏷️ Tags

custom-properties intermediate solved

  • Pie Menu Editor
  • Custom tab
  • Property Editor

πŸ’¬ Content

StroBlend:

In Blender 2.8 I have this button to switch between vertex, Edge, face, snap mode. The problem is that it doesn’t switch, instead it adds to the current already selected mode.

Same in Blender 2.7. This needs to be fixed in Blender.

StroBlend:

When I use the automatic expand on vertical or horizontal feature it works fine but as soon as I try to do it manually it doesn’t work.

Not sure what you mean. This code works for me (Custom tab):

L.row().prop(C.tool_settings, "snap_elements", expand=True)

πŸ”— View on Blender Artists