Less spam in debug log
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user