diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-04-04 20:17:42 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-04-04 20:17:52 +0300 |
commit | 9ecb19623771336c2af39bd6fbb3112a03bae9a7 (patch) | |
tree | 16ea1ef1000fb19965d2136f34f82a672fc8855e /source | |
parent | f10219a9772c948ecddfa486ba591952d3caafdc (diff) |
fix: Collada export selected worked only for the very first export (needs further testing and cleanup, see comments)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index dda26eb3ca2..9f71d6ca14d 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -3313,10 +3313,17 @@ LinkNode *BKE_object_relational_superset(struct Scene *scene, struct SceneLayer Base *base; /* Remove markers from all objects */ + /* XXX: Do we need the scene here at all? + * See scene_layer below (gaia) + */ for (base = scene->base.first; base; base = base->next) { base->object->id.tag &= ~LIB_TAG_DOIT; } + for (base = scene_layer->object_bases.first; base; base = base->next) { + base->object->id.tag &= ~LIB_TAG_DOIT; + } + /* iterate over all selected and visible objects */ for (base = scene_layer->object_bases.first; base; base = base->next) { if (objectSet == OB_SET_ALL) { |