diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-24 12:24:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-24 12:25:09 +0300 |
commit | f7c987b0ab08f6121f6107a491d6fdb9a737858c (patch) | |
tree | 2f83f23077efc0a044ad85adc1ce292177553964 /source | |
parent | ebf3979cab592ba311d80702881a5ee7f8a40782 (diff) |
Fix outliner crash after recent no-functional-changes cleanup commits
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index a0d66fba576..f2d8321daa3 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -587,7 +587,7 @@ static void outliner_add_object_contents(SpaceOops *soops, TreeElement *te, Tree ParticleSystem *psys = ((ParticleSystemModifierData *) md)->psys; TreeElement *ten_psys; - ten_psys = outliner_add_element(soops, &ten_psys->subtree, ob, ten_psys, TSE_LINKED_PSYS, 0); + ten_psys = outliner_add_element(soops, &ten->subtree, ob, te, TSE_LINKED_PSYS, 0); ten_psys->directdata = psys; ten_psys->name = psys->part->id.name + 2; } |