Fix for [#25633] Particles display switching causes crash when Velocity disp. ON
authorJanne Karhu <jhkarh@gmail.com>
Sat, 15 Jan 2011 12:29:22 +0000 (12:29 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Sat, 15 Jan 2011 12:29:22 +0000 (12:29 +0000)
commit4cb79661eb4b69b66a5c5c980790db360c7d7332
treeb90bf42ae21d072811ce6945996e0a7d477aa25d
parent7297169a7491c85e9bdb9d9c80aaa54fce587232
Fix for [#25633] Particles display switching causes crash when Velocity disp. ON
* Particle draw data wasn't freed properly in some cases.
* Velocity + circle draw type also crashed due to missing null pointer check.
source/blender/editors/space_view3d/drawobject.c