mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 12:23:41 +01:00
Maybe fix animation handling after redraws (esp. for PLD with shield), maybe break everything else.
This commit is contained in:
parent
853fe8644c
commit
a9a5f91c90
3 changed files with 13 additions and 0 deletions
|
|
@ -58,6 +58,12 @@ public unsafe partial class PathResolver
|
|||
break;
|
||||
}
|
||||
|
||||
if( _drawObjectState.LastGameObject != null )
|
||||
{
|
||||
resolveData = _drawObjectState.LastCreatedCollection;
|
||||
return true;
|
||||
}
|
||||
|
||||
resolveData = ResolveData.Invalid;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -183,4 +183,10 @@ public partial class PathResolver : IDisposable
|
|||
|
||||
internal ResolveData CurrentAvfxData
|
||||
=> _subFiles.AvfxData;
|
||||
|
||||
internal ResolveData LastGameObjectData
|
||||
=> DrawObjects.LastCreatedCollection;
|
||||
|
||||
internal unsafe nint LastGameObject
|
||||
=> (nint) DrawObjects.LastGameObject;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue