Bug fixes and build files

This commit is contained in:
AbstractConcept 2022-09-27 00:56:35 -05:00
parent 73f7e32e0c
commit 0e653f863a
252 changed files with 25598 additions and 90 deletions

View file

@ -25,6 +25,8 @@ namespace RimWorldAnimationStudio
public bool isFucking;
public bool isFucked;
[XmlIgnore] public string bodyType = "Male";
public bool ShouldSerializedefNames() { return defNames.NotNullOrEmpty(); }
public bool ShouldSerializebodyDefTypes() { return bodyDefTypes.NotNullOrEmpty(); }
public bool ShouldSerializerequiredGender() { return requiredGender.NotNullOrEmpty(); }

View file

@ -36,7 +36,7 @@ namespace RimWorldAnimationStudio
public void ValidateData()
{
sexTypes = interactionDefTypes.Intersect(Tags.sexTypes.Concat(CustomTags.sexTypes))?.ToList();
sexTypes = sexTypes.Intersect(Tags.sexTypes.Concat(CustomTags.sexTypes))?.ToList();
interactionDefTypes = interactionDefTypes.Intersect(Tags.interactionDefTypes.Concat(CustomTags.interactionDefTypes))?.ToList();
}
}

View file

@ -23,9 +23,9 @@ namespace RimWorldAnimationStudio
{
clip.BuildSimpleCurves();
//select playTimeTicks as longest playtime of all the animations
// Select playTimeTicks as longest playtime of all the animations
if (clip.duration > playTimeTicks)
{ playTimeTicks = clip.duration; }
{ playTimeTicks = clip.duration; }
}
}