# HG changeset patch # User drewp@bigasterisk.com # Date 2023-05-29 22:18:32 # Node ID 702c1fd95dfdf91aba8079057d9a2adb8e7a02b1 # Parent f61531e21a77cfece7ad3875e4a5ebd8988cf460 another empty-patch guard, to cause me to fix problems upstream of this call diff --git a/light9/web/SyncedGraph.ts b/light9/web/SyncedGraph.ts --- a/light9/web/SyncedGraph.ts +++ b/light9/web/SyncedGraph.ts @@ -170,6 +170,7 @@ export class SyncedGraph { // In most cases you want applyAndSendPatch. // // This is the only method that writes to this.graph! + if (patch.isEmpty()) throw "dont send empty patches here"; log("_applyPatch [1] \n", patch.dump()); this.cachedFloatValues.clear(); this.cachedUriValues.clear();