Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-11-11 16:58:42 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-11-11 16:59:50 +0300
commit256f091cbd5e6098a2d53aff4b6f4fba0fe9af0a (patch)
tree0a340ab25dd20783c471790bc79b3299e17928b8 /source/blender/blenkernel
parent7b96f02f5b7e08712874eadaad7275140d0f6ef5 (diff)
Fix (unreported) foreach ID looper going over some psys' IDs twice...
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/library_query.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c
index 97f4a25ccd0..68e63c1ac92 100644
--- a/source/blender/blenkernel/intern/library_query.c
+++ b/source/blender/blenkernel/intern/library_query.c
@@ -336,14 +336,6 @@ void BKE_library_foreach_ID_link(ID *id, LibraryIDLinkCallback callback, void *u
CALLBACK_INVOKE(object->gpd, IDWALK_USER);
CALLBACK_INVOKE(object->dup_group, IDWALK_USER);
- if (object->particlesystem.first) {
- ParticleSystem *psys;
- for (psys = object->particlesystem.first; psys; psys = psys->next) {
- CALLBACK_INVOKE(psys->target_ob, IDWALK_NOP);
- CALLBACK_INVOKE(psys->parent, IDWALK_NOP);
- }
- }
-
if (object->pd) {
CALLBACK_INVOKE(object->pd->tex, IDWALK_USER);
CALLBACK_INVOKE(object->pd->f_source, IDWALK_NOP);