Particles: don't output nonsense UV data for Grid distribution particles.
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 7 Aug 2016 10:48:25 +0000 (13:48 +0300)
committerAlexander Gavrilov <angavrilov@gmail.com>
Sun, 7 Aug 2016 10:48:25 +0000 (13:48 +0300)
commite1cdde5d147cb8928141441c102f3bbbd9e34cc7
tree7bddc1c9a4745af374f621128db16e9d98b46d08
parent912f46d309b3c1c2ec581a44ec77fed38cbe6aad
Particles: don't output nonsense UV data for Grid distribution particles.

As reported in T48928, From Dupli UV is not supported for grid
distribution, and running the normal code as usual simply produces
nonsense data, because fuv is used to hold orco instead of
interpolation factors for uv, and num is zero.

Since support won't be added in 2.78, just stop outputting nonsense.
source/blender/blenkernel/intern/particle.c