Skip to content

Commit

Permalink
Merge pull request #232 from hrntsm/fix/no-member-brep-bake-error
Browse files Browse the repository at this point in the history
Fix null member error
  • Loading branch information
hrntsm authored Apr 22, 2022
2 parents 7b5e9ce + b3ba15b commit 611871c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HoaryFox/RH7/Component/Utils/TagUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ public static Dictionary<string, string>[][] GetAllSectionInfoArray(StbMembers m
private static Dictionary<string, string>[] StbMembersToDictArray(IReadOnlyList<object> members, StbSections sections)
{
var propertiesArray = new Dictionary<string, string>[members.Count];

if (members.Count == 0)
{
return propertiesArray;
}
object item = members[0];
Type t = item.GetType();

Expand Down

0 comments on commit 611871c

Please sign in to comment.