-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

K. Hoercher wrote:
> So now over to nagging at myself...
> On 8/31/07, K. Hoercher <[EMAIL PROTECTED]> wrote:
>> Some notes:
>> - I found that in order to make the example from model-howto.html work
>> ( starting at "To make a texture replaceable at runtime") one has to
>> specify a valid (i.e. loadable) <texture>  in the material animation.
> 
> The cause seems to be the condition in SGMaterialAnimation.cxx l.277
> ignoring any texture update by the UpdateCallback (only there
> <texture-prop> is looked at)  without an already existing stateSet.
> That in turn will not be created with a <texture-prop> alone l. 379ff.
> 
> Unless I overlooked some compelling reason contradicting, I'd like to
> suggest allowing for a stateSet to be created for those situations
> too. I think that would match the behaviour of animation.cxx
> (PRE_OSG_PLIB_20061029) and is imho the more expected and also
> documented one.
> 
> I've attached a patch to that effect
> 
> Best regards
> K. Hoercher
Committed, thanks!
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFG3ynreDhWHdXrDRURAkIbAJ9luWSF6Q57Mn26lsO2RYWc3z6DTACfe1ba
dZd+NKRnYiaHkcPeVeQG+GY=
=Uvr1
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to