Hi Maik,

Selon Maik Justus :

> Hi,
> the same thing with _condition.
>
> It's systematically done wrong.
>
> _textureData could be done correctly :-)

_condition, _effectTexture and _textureData are not SGShaderAnimation members in
the OSG code.

In the PLIB branch, _contition is not shared but initialized with new in
sgReadCondition, so unless there is something I am missing, I think _condition
must be deleted just like in the other animation classes where it is actually
missing ( except in shadow and select ).

for _effectTexture, the pointer should be replaced by ssgSharedPtr<ssgTexture>
and the delete removed.

I am committing a fix right now.

-Fred


--
Frédéric Bouvier
http://frfoto.free.fr                      Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/               FlightGear Scenery Designer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to