On Monday 07 November 2005 00:22, Vassilii Khachaturov wrote:
> > What I've tried to do is the following (AIModels/AIBase.cxx: about line
> > 166)
>
> Why don't you send us the cvs diff -u of that file?

Sending the file by itself isn't much use. My question isn't really related to 
the syntax in this particular piece of code, but more related to the 
overarching property tree design. In the mean time, I did find out that the 
texture-path property does get set in the tree, but that the model loading 
mechanism isn't picking it up, due to the organization of the AI model I'm 
trying to load.

>
> > model = manager->getModel(path, tpath);
> >   if (!(model))
> >     {
> >       if (tpath != "")
>
> I sincerely hope that this comparison works as expected. If e.g. tpath is
> a char* it surely is not doing what you mean :))
>

Yes, this is verified and correct. I'm tpath is a C++ string object.

Cheers,
Durk

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to