fix: Collada export selected worked only for the very first export (needs further testing and cleanup, see comments)
This commit is contained in:
parent
f10219a977
commit
9ecb196237
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue