Remove print dom for debug previously

This commit is contained in:
chiyteng
2021-05-27 17:19:32 -07:00
parent 053e273b97
commit c21a59af50
@@ -176,15 +176,10 @@ namespace AzToolsFramework
{
PrefabDom& templateDomReference = m_prefabSystemComponentInterface->FindTemplateDom(templateId);
PrefabDomUtils::PrintPrefabDomValue("providedPatch", providedPatch);
PrefabDomUtils::PrintPrefabDomValue("templateDomReference", templateDomReference);
//apply patch to template
AZ::JsonSerializationResult::ResultCode result = AZ::JsonSerialization::ApplyPatch(templateDomReference,
templateDomReference.GetAllocator(), providedPatch, AZ::JsonMergeApproach::JsonPatch);
PrefabDomUtils::PrintPrefabDomValue("templateDomReference(Patch applied)", templateDomReference);
//trigger propagation
if (result.GetOutcome() == AZ::JsonSerializationResult::Outcomes::Success)
{