mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-20 06:47:46 +01:00
Fix an issue with retainer assignments using ownership wrongly for mannequins.
This commit is contained in:
parent
e62b0155d4
commit
c2ac745d72
7 changed files with 23 additions and 13 deletions
|
|
@ -175,7 +175,7 @@ public partial class ModEditWindow
|
|||
}
|
||||
|
||||
private static T? DefaultParseFile( byte[] bytes )
|
||||
=> Activator.CreateInstance( typeof( T ), BindingFlags.CreateInstance | BindingFlags.OptionalParamBinding, bytes ) as T;
|
||||
=> Activator.CreateInstance( typeof( T ), bytes ) as T;
|
||||
|
||||
private void UpdateCurrentFile( Mod.Editor.FileRegistry path )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -584,7 +584,7 @@ public partial class ModEditWindow : Window, IDisposable
|
|||
() => _editor?.ShpkFiles ?? Array.Empty< Editor.FileRegistry >(),
|
||||
DrawShaderPackagePanel,
|
||||
() => _mod?.ModPath.FullName ?? string.Empty,
|
||||
bytes => new ShpkTab( bytes ) );
|
||||
null );
|
||||
_center = new CombinedTexture( _left, _right );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue