Audit-1 : fix transition time + JointMaskReloadListener
C-01 : GENERAL_ANIMATION_TRANSITION_TIME was int 6 while all consumers expect a float transitionTime in seconds — 6s gave inter-animation transitions of 120 ticks. Change to float 0.15F (3 ticks). C-02 : JointMaskReloadListener was never registered, leaving AnimationSubFileReader callers at lines 170/182/184 to receive null from getNoneMask()/getJointMaskEntry() with no data loaded. Register it in V2ClientSetup at LOW priority so it fires after the GLB cache clear and alongside the other bondage client reload listeners. M-03 : ASSETS_NEEDED.md JSON example already corrected in the earlier doc-keeper pass (Torso=7, Chest=8, etc.). Drive-by: add logs/ to .gitignore — the runClient logs were accidentally tracked.
This commit is contained in:
@@ -46,8 +46,8 @@ public final class TiedUpRigConstants {
|
||||
/** Durée d'un tick MC en secondes (20 TPS). */
|
||||
public static final float A_TICK = 1.0F / 20.0F;
|
||||
|
||||
/** Durée de transition inter-animation par défaut (en ticks). */
|
||||
public static final int GENERAL_ANIMATION_TRANSITION_TIME = 6;
|
||||
/** Durée de transition inter-animation par défaut (en secondes — 0.15s = 3 ticks). */
|
||||
public static final float GENERAL_ANIMATION_TRANSITION_TIME = 0.15F;
|
||||
|
||||
/** Nombre max de joints supportés par une armature (limite matrice pool). */
|
||||
public static final int MAX_JOINTS = 128;
|
||||
|
||||
Reference in New Issue
Block a user