Skip to content

Commit

Permalink
chore: remove debug logs (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore authored Jul 29, 2024
1 parent fcb52ea commit e92d936
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion Editor/ChangeStream/ShadowGameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ public void InvalidateTree(int instanceId)

if (_otherObjects.TryGetValue(instanceId, out var otherObj))
{
Debug.Log("Invalidate OtherObject (" + instanceId + " " + otherObj.Object.GetType() + ")");
_otherObjects.Remove(instanceId);
otherObj._listeners.Fire(HierarchyEvent.ForceInvalidate);
}
Expand Down
3 changes: 0 additions & 3 deletions Editor/PreviewSystem/Rendering/NodeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ RenderAspects changes
// Reuse the old node in its entirety
node = _node;
context = _context;
Debug.Log("=== Reusing node " + _node);
}
else
{
Expand All @@ -125,8 +124,6 @@ RenderAspects changes
changes
);
}

Debug.Log("=== Refreshing node " + _node + " with changes " + changes + "; success? " + (node != null) + " same? " + (node == _node));
}

RefCount refCount;
Expand Down
1 change: 0 additions & 1 deletion Editor/PreviewSystem/Rendering/ProxyObjectCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public void ReturnProxy(Renderer original, Renderer proxy)

if (!_renderers.TryGetValue(original, out var state))
{
Debug.Log("ProxyObjectCache: Renderer not found in cache");
DestroyProxy(proxy);
return;
}
Expand Down
6 changes: 0 additions & 6 deletions Editor/PreviewSystem/Rendering/ProxyObjectController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ public ProxyObjectController(ProxyObjectCache cache, Renderer originalRenderer,
{
ChangeFlags |= RenderAspects.Mesh;
}

if (ChangeFlags != 0)
{
Debug.Log("=== ProxyObjectController for " + originalRenderer.gameObject.name + " flags=" +
ChangeFlags);
}
}

CreateReplacementObject();
Expand Down

0 comments on commit e92d936

Please sign in to comment.