From 6c27a2498e1d82206937b0e5b629db33706124d3 Mon Sep 17 00:00:00 2001 From: Richard Fairhurst Date: Fri, 14 May 2010 13:14:29 +0000 Subject: [PATCH] partly fix splitway for relations (still lots of FIXMEs, but the perfect is the enemy of the good etc. etc.) --- net/systemeD/halcyon/connection/Entity.as | 14 ++++++++ .../connection/actions/SplitWayAction.as | 36 ++++++++++--------- 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/net/systemeD/halcyon/connection/Entity.as b/net/systemeD/halcyon/connection/Entity.as index 8f9d5acd..b11a5b2f 100644 --- a/net/systemeD/halcyon/connection/Entity.as +++ b/net/systemeD/halcyon/connection/Entity.as @@ -189,6 +189,20 @@ package net.systemeD.halcyon.connection { return parents[entity] == true; } + public function get memberships():Array { + var list:Array=[]; + for (var o:Object in parents) { + if (o is Relation) { + for (var i:uint=0; i