Fixed EntityParser to handle string enums properly.

This commit is contained in:
2016-01-19 12:15:20 +01:00
parent 162523d3ca
commit a6445c65aa
4 changed files with 56 additions and 29 deletions
@@ -12,7 +12,9 @@
<Entity name="X">
<Components>
<c:EditorWidget>
<Type>3</Type>
<Type>
<Scale/>
</Type>
<Axis X="1" Y="0" Z="0"/>
</c:EditorWidget>
<c:Model>
@@ -25,7 +27,9 @@
<Entity name="Y">
<Components>
<c:EditorWidget>
<Type>3</Type>
<Type>
<Scale/>
</Type>
<Axis X="0" Y="1" Z="0"/>
</c:EditorWidget>
<c:Model>
@@ -38,7 +42,9 @@
<Entity name="Z">
<Components>
<c:EditorWidget>
<Type>3</Type>
<Type>
<Scale/>
</Type>
<Axis X="0" Y="0" Z="1"/>
</c:EditorWidget>
<c:Model>