Hi Chris,

On 17/06/2010 20:43, Christopher Barker wrote:
> Hi Werner,
>
> I am swamped working on our big oil spill in the Gulf of Mexico
I didn't expect such a quick answer as I guessed that you would still 
have tons of work with this.

I was wondering if I did something which shouldn't work.  Thanks for the 
hints, will look into this more over the next few days.

Werner
> , but a
> couple quick comments:
>
> Werner F. Bruhin wrote:
>    
>> problem where HitTest doesn't work after I made changed GUIMode.
>>
>> What I do is e.g.:
>>
>> 1. create some objects (1 rack (a fc.group) and 9 bottle objects
>> (fc.Circle)
>> 2. change to GUIMode "SelectBottles" which works fine
>> 3. change to GUIMode "SelectOtherObjects" which works fine
>> 4. change to GUIMode "SelectBottles" DOES NOT WORK
>>
>> The change GUIMode code does:
>> - UnBindAll
>> - qualifying objects get "bind" for "fc.EVT_FC_LEFT_DOWN"
>>      
>    
>> When I debug and get to fc.HitTest clicking the same object under point
>> 2 and 4 above return different values for color, first time I get "0, 0,
>> 7" and the second time I get "0, 0, 10".
>>
>> Any one has some ideas on why this might happen.
>>      
> I can't remember right now, but it's possible that when you unbind and
> re-bind, the hit-test color gets reset. I can't tell you for sure if I
> really tested multiple binding-unbinding (though the main demo does it...)
>
> Can you trace a bit farther and see what the hit color is for that
> object? Also, you can look in the hit test dictionary to see how it's bound.
>
> Sorry I don't have more time to dig into this.
>
> -Chris
>
>    


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

Reply via email to