Skip to content

Commit

Permalink
Fix duplicate GUID after "Save as" (data)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Sep 29, 2024
1 parent acd466a commit 2a75e00
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions data/Materials/Ball.mat
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
<Root>
<Object class="MaterialResourceData">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="3882493845"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="2795286163"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="Object" name="m_materialModelType">
<Object class="MaterialModelType">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="3647762806"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="3257878880"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_shader" value="Default"/>
</Object>
</Property>
<Property type="ObjectPtr" name="m_data" flags="Flatten">
<Object class="DefaultMaterialData">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="429012722"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="String" name="m_name" flags="NotVisible" value="Default"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="2408447147"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumU8" name="m_surfaceType" value="Opaque"/>
<Property type="EnumU8" name="m_cullMode" value="Back"/>
<Property type="EnumU32" name="m_UVSource" value="UV0"/>
<Property type="Float2" name="m_tiling" flags="HasRange" x="1" y="1"/>
<Property type="Resource" name="m_albedoMap" flags="Resource">
<Object class="TextureResource">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="807269994"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="3365314983"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Textures/Soccer/Ball.png"/>
</Object>
</Property>
<Property type="Float4" name="m_albedoColor" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Resource" name="m_normalMap" flags="Resource">
<Object class="TextureResource">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="3425643469"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="3033038577"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value=""/>
</Object>
</Property>
<Property type="Float" name="m_normalStrength" flags="HasRange" value="1"/>
<Property type="Resource" name="m_pbrMap" flags="Resource">
<Object class="TextureResource">
<Property type="Uint32" name="m_uid" flags="Debug|Hexadecimal" value="0"/>
<Property type="Uint32" name="m_originalUID" flags="Debug|Hexadecimal" value="0"/>
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="Debug|Bitfield" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="1868218771"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value=""/>
</Object>
</Property>
Expand Down
2 changes: 1 addition & 1 deletion data/Prefabs/Football.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Property type="String" name="m_name" value="Football"/>
<Property type="Uint32" name="m_uid" flags="" value="2981549120"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Selected"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float4" name="m_color" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Float4x4" name="m_local" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="0" Ty="0" Tz="0" Tw="1"/>
Expand Down

0 comments on commit 2a75e00

Please sign in to comment.