On 27. Aug 2012, at 7:32, Evgeny Ilyushkin wrote:
> I've got it to traverse down the Canvas to the
> Segment, but it needs а pointer to a channel type.
> eq/fabric/segment.ipp,58:
> commitChild< typename CH::Parent >( _channel->getWindow(), incarnation);
>
> the only place I found where segment->setChannel(CH* ch) is called is
> loader.cpp/.y on the server side.
Correct, but this is only if you change the channel, which you shouldn't:
if( Serializable::isDirty( DIRTY_CHANNEL ) && _channel )
commitChild< typename CH::Parent >( _channel->getWindow(), incarnation);
Why do you think you need the channel? I would imagine your code can simply skip over the if and commit the object, which will serialize the wall!?
> Porting our Terrain from Eq1.0 to Eq1.4 is proving to be difficult at
> least for me (nobody else cares yet), so I am forced to work with 1.0
> for the next month until I submit my bachelor's thesis :(
What's the issue? If you used only @version 1.0 API calls, there should be no change at all (barring any oversight on our end...).
HTH,
Stefan.
_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com