fix: Collada export selected worked only for the very first export (needs further testing and cleanup, see comments)

This commit is contained in:
Gaia Clary 2017-04-04 19:17:42 +02:00
parent f10219a977
commit 9ecb196237
1 changed files with 7 additions and 0 deletions

View File

@ -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) {