Audit-1 review : fix stale '6 ticks' comment + track NONE_MASK null
Reviewer flagged two MEDIUM cosmetic items : - SMELL-001 : TiedUpAnimationRegistry:97 comment still said '6 ticks' — updated to '0.15s = 3 ticks' to match the new constant. - SMELL-002 : JointMaskReloadListener.getNoneMask() can still return null if a resource pack omits tiedup:none. Call sites tolerate null today; logged in PHASE0_DEGRADATIONS for a Phase 3 fallback JSON + warn log.
This commit is contained in:
@@ -94,7 +94,7 @@ public final class TiedUpAnimationRegistry {
|
||||
}
|
||||
|
||||
try {
|
||||
// transitionTime=GENERAL (6 ticks) + isRepeat=true + registryName +
|
||||
// transitionTime=GENERAL (0.15s = 3 ticks) + isRepeat=true + registryName +
|
||||
// armature=BIPED. L'ordre match le ctor DirectStaticAnimation(float, boolean, ResourceLocation, AssetAccessor).
|
||||
CONTEXT_STAND_IDLE = new DirectStaticAnimation(
|
||||
TiedUpRigConstants.GENERAL_ANIMATION_TRANSITION_TIME,
|
||||
|
||||
Reference in New Issue
Block a user