Skip to content

Commit

Permalink
Fix sub-model setup NRE
Browse files Browse the repository at this point in the history
  • Loading branch information
al2me6 committed May 29, 2023
1 parent 6c4dbb8 commit 698a989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/ROLib/ModelDef/ROLModelDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ public SubModelData(ConfigNode node)
modelMeshes = node.ROLGetStringValues("transform");
renameMeshes = node.ROLGetStringValues("rename");
deleteMeshes = node.ROLGetStringValues("disableTransform");
maskMeshes = node.ROLGetStringValues("depthMask");
parent = node.ROLGetStringValue("parent", string.Empty);
position = node.ROLGetVector3("position", Vector3.zero);
rotation = node.ROLGetVector3("rotation", Vector3.zero);
Expand Down

0 comments on commit 698a989

Please sign in to comment.