Fixed EntityParser to handle string enums properly.
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
<Entity name="X">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>2</Type>
|
||||
<Type>
|
||||
<Rotate/>
|
||||
</Type>
|
||||
<Axis X="1" Y="0" Z="0"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -22,7 +24,9 @@
|
||||
<Entity name="Y">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>2</Type>
|
||||
<Type>
|
||||
<Rotate/>
|
||||
</Type>
|
||||
<Axis X="0" Y="1" Z="0"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -35,7 +39,9 @@
|
||||
<Entity name="Z">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>2</Type>
|
||||
<Type>
|
||||
<Rotate/>
|
||||
</Type>
|
||||
<Axis X="0" Y="0" Z="1"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
<Entity name="X">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="1" Y="0" Z="0"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -25,7 +27,9 @@
|
||||
<Entity name="Y">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="0" Y="1" Z="0"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -38,7 +42,9 @@
|
||||
<Entity name="Z">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="0" Y="0" Z="1"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -51,7 +57,9 @@
|
||||
<Entity name="XPlane">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="0" Y="1" Z="1"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -64,7 +72,9 @@
|
||||
<Entity name="YPlane">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="1" Y="0" Z="1"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
@@ -77,7 +87,9 @@
|
||||
<Entity name="ZPlane">
|
||||
<Components>
|
||||
<c:EditorWidget>
|
||||
<Type>1</Type>
|
||||
<Type>
|
||||
<Translate/>
|
||||
</Type>
|
||||
<Axis X="1" Y="1" Z="0"/>
|
||||
</c:EditorWidget>
|
||||
<c:Model>
|
||||
|
||||
Reference in New Issue
Block a user