From a0c21635ad59d8e57e0de8c5cb37963d185d3a81 Mon Sep 17 00:00:00 2001 From: RisaDev <151885272+RisaDev@users.noreply.github.com> Date: Mon, 30 Sep 2024 23:01:37 +0300 Subject: [PATCH] Less spam in debug log --- CustomizePlus/Armatures/Data/Armature.cs | 2 +- CustomizePlus/Armatures/Data/ModelBone.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CustomizePlus/Armatures/Data/Armature.cs b/CustomizePlus/Armatures/Data/Armature.cs index 6d5e87e..42e3557 100644 --- a/CustomizePlus/Armatures/Data/Armature.cs +++ b/CustomizePlus/Armatures/Data/Armature.cs @@ -291,7 +291,7 @@ public unsafe class Armature { //time to build a new bone ModelBone newBone = new(arm, boneName, pSkeleIndex, boneIndex); - Plugin.Logger.Debug($"Created new bone: {boneName} on {pSkeleIndex}->{boneIndex} arm: {arm._localId}"); + Plugin.Logger.Verbose($"Created new bone: {boneName} on {pSkeleIndex}->{boneIndex} arm: {arm._localId}"); if (currentPose->Skeleton->ParentIndices[boneIndex] is short parentIndex && parentIndex >= 0) diff --git a/CustomizePlus/Armatures/Data/ModelBone.cs b/CustomizePlus/Armatures/Data/ModelBone.cs index bc696c0..492d853 100644 --- a/CustomizePlus/Armatures/Data/ModelBone.cs +++ b/CustomizePlus/Armatures/Data/ModelBone.cs @@ -90,7 +90,7 @@ public unsafe class ModelBone CustomizedTransform = null; - Plugin.Logger.Debug($"Unlinked {BoneName} from all templates"); + Plugin.Logger.Verbose($"Unlinked {BoneName} from all templates"); return true; } @@ -98,7 +98,7 @@ public unsafe class ModelBone if (!template.Bones.ContainsKey(BoneName)) return false; - Plugin.Logger.Debug($"Linking {BoneName} to {template.Name}"); + Plugin.Logger.Verbose($"Linking {BoneName} to {template.Name}"); CustomizedTransform = template.Bones[BoneName]; return true;