// Called when the mouse exits hovering an editable object. public override void OnBrushExit(z_EditableObject target) { base.OnBrushExit(target); if (target.editMesh != null) { target.editMesh.colors = colors_cache; target.ApplyMeshAttributes(z_MeshChannel.Color); } likelySupportsVertexColors = true; }
// Called when the mouse exits hovering an editable object. public override void OnBrushExit(z_EditableObject target) { base.OnBrushExit(target); if (splat_cache != null) { splat_cache.Apply(target.editMesh); target.ApplyMeshAttributes(); target.graphicsMesh.UploadMeshData(false); } likelySupportsTextureBlending = true; }