mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix compiler warning
This commit is contained in:
parent
5899a59e06
commit
1b490510c7
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ public partial class ModEditWindow
|
||||||
|
|
||||||
if (mayVary && (data as JObject)?["Vary"] != null)
|
if (mayVary && (data as JObject)?["Vary"] != null)
|
||||||
{
|
{
|
||||||
var selector = BuildSelector(data["Vary"]!
|
var selector = BuildSelector(data!["Vary"]!
|
||||||
.Select(key => (uint)key)
|
.Select(key => (uint)key)
|
||||||
.Select(key => Mtrl.GetShaderKey(key)?.Value ?? AssociatedShpk!.GetMaterialKeyById(key)!.Value.DefaultValue));
|
.Select(key => Mtrl.GetShaderKey(key)?.Value ?? AssociatedShpk!.GetMaterialKeyById(key)!.Value.DefaultValue));
|
||||||
var index = (int)data["Selectors"]![selector.ToString()]!;
|
var index = (int)data["Selectors"]![selector.ToString()]!;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue