Post #5117: Sorry, I made a mistake; if Poll is the target, write the following. This will c

📋 Metadata

🏷️ Tags

macro python-scripting intermediate solved

  • Macro Editor
  • Python Scripting

💬 Content

Sorry, I made a mistake; if Poll is the target, write the following. This will cause the Bool value to RETURN.use the OR operator.

modes = context.tool_settings.mesh_select_mode; return modes[0] or modes[1]

🔗 View on Blender Artists