Updated ResourceBaseTypes, added Save method to YtdFile

This commit is contained in:
dexy
2019-01-27 17:14:10 +11:00
Unverified
parent 3e2dd89702
commit 3819d53890
13 changed files with 966 additions and 535 deletions
+2 -2
View File
@@ -123,11 +123,11 @@ namespace CodeWalker.Project.Panels
LightAttributes_s[] lightAttrs = null;
if (ddwbl != null)
{
lightAttrs = ddwbl.LightAttributes;
lightAttrs = ddwbl.LightAttributes?.data_items;
}
else if (fdwbl != null)
{
lightAttrs = fdwbl.OwnerFragment?.LightAttributes;
lightAttrs = fdwbl.OwnerFragment?.LightAttributes?.data_items;
}
if (lightAttrs != null)
{