mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
Merge branch '1.5_pawn_portrait_offset_fix' into '1.5'
Fixed pawn offsets in portraits during animations See merge request c0ffeeeeeeee/rimworld-animations!23
This commit is contained in:
commit
b2c6838cb1
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
@ -13,6 +13,9 @@ namespace Rimworld_Animations
|
|||
|
||||
public override void TransformOffset(PawnRenderNode node, PawnDrawParms parms, ref Vector3 offset, ref Vector3 pivot)
|
||||
{
|
||||
if (parms.Portrait)
|
||||
return;
|
||||
|
||||
if (node.AnimationWorker is AnimationWorker_KeyframesExtended
|
||||
&& node.tree.pawn.TryGetComp<CompExtendedAnimator>(out CompExtendedAnimator extendedAnimator))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue