From 4594a8475345cc1c63c1289dabfa8435c125efbf Mon Sep 17 00:00:00 2001 From: Saas Date: Fri, 20 Mar 2026 19:07:11 +0100 Subject: [PATCH] disable vertex snapping for Blend Points of Animation Blend 1D and 2D --- Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs b/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs index 450960af7..1d842a7c3 100644 --- a/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs +++ b/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs @@ -102,8 +102,14 @@ namespace FlaxEditor.Surface.Archetypes outline = style.BorderHighlighted; else if (_editor._node.SelectedAnimationIndex == _index) outline = style.BackgroundSelected; + + var features = Render2D.Features; + Render2D.Features = features & ~Render2D.RenderingFeatures.VertexSnapping; + Render2D.DrawSprite(icon, rect.MakeExpanded(4.0f), outline); Render2D.DrawSprite(icon, rect, style.Foreground); + + Render2D.Features = features; } ///