mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 20:33:43 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( _drawObjectState.LastGameObject != null )
|
||||||
|
{
|
||||||
|
resolveData = _drawObjectState.LastCreatedCollection;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
resolveData = ResolveData.Invalid;
|
resolveData = ResolveData.Invalid;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -183,4 +183,10 @@ public partial class PathResolver : IDisposable
|
||||||
|
|
||||||
internal ResolveData CurrentAvfxData
|
internal ResolveData CurrentAvfxData
|
||||||
=> _subFiles.AvfxData;
|
=> _subFiles.AvfxData;
|
||||||
|
|
||||||
|
internal ResolveData LastGameObjectData
|
||||||
|
=> DrawObjects.LastCreatedCollection;
|
||||||
|
|
||||||
|
internal unsafe nint LastGameObject
|
||||||
|
=> (nint) DrawObjects.LastGameObject;
|
||||||
}
|
}
|
||||||
|
|
@ -223,6 +223,7 @@ public partial class ConfigWindow
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui.TextUnformatted( $"Last Game Object: 0x{_window._penumbra.PathResolver.LastGameObject:X} ({_window._penumbra.PathResolver.LastGameObjectData.ModCollection.Name})" );
|
||||||
using( var drawTree = ImRaii.TreeNode( "Draw Object to Object" ) )
|
using( var drawTree = ImRaii.TreeNode( "Draw Object to Object" ) )
|
||||||
{
|
{
|
||||||
if( drawTree )
|
if( drawTree )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue