# HG changeset patch # User drewp@bigasterisk.com # Date 1685398712 25200 # Node ID 702c1fd95dfdf91aba8079057d9a2adb8e7a02b1 # Parent f61531e21a77cfece7ad3875e4a5ebd8988cf460 another empty-patch guard, to cause me to fix problems upstream of this call diff -r f61531e21a77 -r 702c1fd95dfd light9/web/SyncedGraph.ts --- a/light9/web/SyncedGraph.ts Mon May 29 15:18:04 2023 -0700 +++ b/light9/web/SyncedGraph.ts Mon May 29 15:18:32 2023 -0700 @@ -170,6 +170,7 @@ // 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();