pioneerspacesim/pioneer — pull request #3087 by johnbartholomew (2014-07-26 16:35:27+00:00)
Title: Render ECM particles in the correct location

Fixes #3082.

Previously the renderer's model-view transform was not being set before drawing the ECM point sprites, so it just used whatever model-view transform was set by previous semi-unrelated code. Since the ship model is rendered right before the ECM particles, the previously set transform was nearly correct, but could include some offset matching some part of the model (e.g., the most recently rendered navigation light).