Less spam in debug log

This commit is contained in:
RisaDev
2024-09-30 23:01:37 +03:00
parent eea1d90986
commit a0c21635ad
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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;