« Return to Thread: How to handle imported Things?

Re: How to handle imported Things?

by David Faught :: Rate this Message:

Reply to Author | View in Thread

On 4/14/08, tb@... <tb@...> wrote:

> Hello,
> I've just started to clean up the new VRML import to Cobalt, not to conflict
> with the existing menu handling code. First I replaced the essential TGroup in
> the VRLMCroquetBuilder by a TDragger. But that resulted in TFarRefs without a
> name/OID.
>
> I understand, that the existing code uses the scripting approach to attach the
> CDefaultPopupMenu to the imported object. So I rejected the idea of the
> TDragger/TSpinner from the importer and tried to rely on the popup menu to
> initiate dragging/editing from there. But the menu doesn't appear. I tried this
> also on the yellow button, because the blue button handles movement, but had
> the same result -  no menu pops up.
>
> I remember, there where popup menus in the Collaborative that showed up and
> worked. Am I missing something?

I think you may be confusing some of the code from the KAT demo, which
is essentially the same as the Collaborative image, with the Cobalt
project.  While they both exist in the same code image, Cobalt does
not include a lot of the things that were done in the
KAT/Collaborative demo, including the object popup menus.

Dave

 « Return to Thread: How to handle imported Things?

LightInTheBox - Buy quality products at wholesale price