Fix for bug #18924: OpenGL performance issue with particle modifiers,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 15 Jun 2009 11:48:42 +0000 (11:48 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 15 Jun 2009 11:48:42 +0000 (11:48 +0000)
commitb8d0f62fd2a9088034fa7da1d7e5e82ca845b728
treeaaca69c449efd862de8e2c581db92514d5102ffa
parentafaa3768e655bb7cfc7f89fd5fdd08a69ac4f132
Fix for bug #18924: OpenGL performance issue with particle modifiers,
actually two modifier datamask optimizations that were never done.

* Don't use modifier data mask for disabled modifiers.
* Check if UV data is needed for particle system instead of always
  requesting it.
source/blender/blenkernel/BKE_modifier.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c