forked from bartvdbraak/blender
Lukep noticed bug in outliner, when an object has a parent that only resides
in another scene, the outliner inserts that child object in the parent's scene. Although it seems cosmetic, i could create crashes with it... fixed.
This commit is contained in:
parent
bb78faef27
commit
139106ca85
@ -678,6 +678,8 @@ static void outliner_build_tree(SpaceOops *soops)
|
||||
ten->directdata= base;
|
||||
}
|
||||
outliner_make_hierarchy(soops, &te->subtree);
|
||||
/* clear id.newid, to prevent objects be inserted in wrong scenes (parent in other scene) */
|
||||
for(base= sce->base.first; base; base= base->next) base->object->id.newid= NULL;
|
||||
}
|
||||
}
|
||||
else if(soops->outlinevis == SO_CUR_SCENE) {
|
||||
|
Loading…
Reference in New Issue
Block a user