diff --git a/src/Tools/Draw.gd b/src/Tools/Draw.gd index 86b2e1f20..003e6bd24 100644 --- a/src/Tools/Draw.gd +++ b/src/Tools/Draw.gd @@ -56,10 +56,11 @@ func _on_Brush_selected(brush: Brushes.Brush) -> void: func _on_BrushSize_value_changed(value: float) -> void: - _brush_size = int(value) - _cache_limit = (_brush_size * _brush_size) * 3 # This equation seems the best match - update_config() - save_config() + if _brush_size != int(value): + _brush_size = int(value) + _cache_limit = (_brush_size * _brush_size) * 3 # This equation seems the best match + update_config() + save_config() func _on_InterpolateFactor_value_changed(value: float) -> void: