Textures are unnecessarily reloaded
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkOpenGLTexture checks the MTime of it's associated RenderWindow when deciding whether to reload a texture. The MTime gets updated on every mouse button and keyboard event, causing the texture to be reloaded every time. This may not be noticeable with small textures, but it becomes noticeable with either remove X rendering, or when using huge textures (I actually modified vtkOpenGLTexture and vtkPrimitivePainter to support 3D textures), as there is a slight delay whenever a mouse button is pushed or released, the mousewheel is used, or a key is pressed.
The mappers and painters don't check the MTime on the RenderWindow, they only check whether it's the same one they used previously. If there is any change in the state of RenderWindow which warrants a texture reload, I suggest checking for it explicitly, instead of reloading the texture over and over again for no good reason.