Frederic Bouvier wrote: > Erik Hofman wrote: > > > Erik Hofman wrote: > > > Update of /var/cvs/SimGear-0.3/SimGear/simgear/scene/tgdb > > > In directory baron:/tmp/cvs-serv8740/tgdb > > > > > > Modified Files: > > > obj.cxx > > > Log Message: > > > Frederic Bouvier: > > > > > > put all leaf is a seperated branch so that it is > > > possible to use a pretrav callback to cull out > > > terrain without culling out light or dynamic > > > objects. It appears that plib is not calling the > > > pretrav callback for leaves. > > > > Is there any chance local_terrain needs to be reffed in the code snippet > > below, so that it is still available when the scenery chunk needs to be > > reloaded? > > > > I don't think so, because geometry already hold a ref to terrain_branch, > and you don't want to delete geometry without terrain_branch ( geometry > is the branch that hold the terrain, various light and the objects.
This is not terrain_branch but local_terrain of course -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
