Skip to content

Instantly share code, notes, and snippets.

@iCyP
Created November 23, 2019 02:53
Show Gist options
  • Save iCyP/8bc4835f6774eeaa5464e7117d38896e to your computer and use it in GitHub Desktop.
Save iCyP/8bc4835f6774eeaa5464e7117d38896e to your computer and use it in GitHub Desktop.
reset sculpt brushes
import bpy
for br in bpy.data.brushes:
if br.sculpt_tool != "DRAW" or br.name != "SculptDraw":
bpy.context.tool_settings.sculpt.brush = br
bpy.ops.brush.reset()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment