Add Eraser Tool
1.5.0 - feat: Eraser Brush Tool (Need to be enable in the preferences)
This commit is contained in:
@@ -9,12 +9,16 @@ from bpy.props import (
|
||||
|
||||
from .OP_cursor_snap_canvas import cursor_follow_update
|
||||
|
||||
|
||||
def change_edit_lines_opacity(self, context):
|
||||
for gp in bpy.data.grease_pencils:
|
||||
if not gp.is_annotation:
|
||||
gp.edit_line_color[3]=self.edit_lines_opacity
|
||||
|
||||
class GP_PG_ToolsSettings(bpy.types.PropertyGroup) :
|
||||
eraser_radius : IntProperty(
|
||||
name="Tint hue offset", description="Radius of eraser brush",
|
||||
default=20, min=0, max=500, subtype='PIXEL')
|
||||
|
||||
drawcam_passepartout : BoolProperty(
|
||||
name="Show cam passepartout",
|
||||
|
||||
Reference in New Issue
Block a user