Hi Werner,

Nice job poking into my spagetti ...

> I think I found it.  The group "Bind" method did not change the hit colour
> of the children of a sub-group.
>
> Came up with the following patch which am still testing, but so far I don't
> get any negative side effects.
>
> What do you think?

Looks good to me.

The trick here is that you will only be able to bind to the whole
group, or to sub-objects, but not both, as once you've bound to the
group, all sub-objects (and now sub-sub-objects) will have the same
hit-test color. But I think that's a reasonable way to go.

In theory, it cold be refactored to keep each object with its own hit
color, and mapp the hit from any of them to the group's binding, but
as I think about that, it would result in the same result anyway...

Once you've done a bit more testing and this patch seems to work, I'll
apply it to SVN.

-Chris







> Werner
>
> _______________________________________________
> FloatCanvas mailing list
> [email protected]
> http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
>



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to