From 6e6895d32db0f641cbc675fbdbab8d65259315ad Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Thu, 2 Dec 2010 02:35:23 +0000 Subject: [PATCH] Ignore updates to fields that weren't defined by this class. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6329 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../resources/com/threerings/presents/tools/streamable_as.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/com/threerings/presents/tools/streamable_as.tmpl b/src/main/resources/com/threerings/presents/tools/streamable_as.tmpl index 369e4390b..2bf6c7546 100644 --- a/src/main/resources/com/threerings/presents/tools/streamable_as.tmpl +++ b/src/main/resources/com/threerings/presents/tools/streamable_as.tmpl @@ -92,6 +92,8 @@ class Signaller signal = _obj.{{name}}Changed; break; {{/fields}} + default: + return; } signal.dispatch(event.getValue(), event.getOldValue()); }