Apply in getProjectionMatrix and getModelViewMatrix

I did not keep track with all the posts, so forgive me if this has been discussed elsewhere:



We need to remove the recently added apply() from getProjectionMatrix and getModelViewMatrix (Camera) as it crashes our multi-threaded app while picking in another thread. Why have these calls been added? The updating of the matrices should happen in the gl thread only.

As nobody seems to need this apply call. I'm about to remove it again. No objections?

i personally don't use it. but as you stated yourself:


irrisor said:

I did not keep track with all the posts, so forgive me if this has been discussed elsewhere...


:P

I did it.  Here's the reason:



http://www.jmonkeyengine.com/jmeforum/index.php?topic=4827.0

oh, ok, posting there - I already removed the calls.