[Bf-blender-cvs] [2aaf1dc] gooseberry: Fix for recent particle drawing commit, need to update the local draw data variable after changing the buffer.
Lukas Tönne
noreply at git.blender.org
Thu Jan 22 19:51:20 CET 2015
Commit: 2aaf1dc22a768e7b08f8f3b7e0dd39b882d0bcc7
Author: Lukas Tönne
Date: Thu Jan 22 13:30:33 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB2aaf1dc22a768e7b08f8f3b7e0dd39b882d0bcc7
Fix for recent particle drawing commit, need to update the local draw
data variable after changing the buffer.
===================================================================
M source/blender/editors/space_view3d/drawobject.c
===================================================================
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 80ac864..32e211b 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -5017,7 +5017,7 @@ static void draw_new_particle_system(Scene *scene, View3D *v3d, RegionView3D *rv
else if (psys->pdd) {
psys_free_pdd(psys);
MEM_freeN(psys->pdd);
- psys->pdd = NULL;
+ pdd = psys->pdd = NULL;
}
if (pdd) {
More information about the Bf-blender-cvs
mailing list