forked from bartvdbraak/blender
Bugfix:
The Outliner was being built incorrectly, leading to fake "IPO-Driver"-linked objects being shown under IPO's. These were caused by a missing break statement, which lead to the IPO case flowing on to the Action case. This could cause crashes with undo on some computers.
This commit is contained in:
parent
5b691071cf
commit
cf84cf5f21
@ -830,15 +830,16 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i
|
||||
IpoCurve *icu;
|
||||
Object *lastadded= NULL;
|
||||
|
||||
for(icu= ipo->curve.first; icu; icu= icu->next) {
|
||||
if(icu->driver && icu->driver->ob) {
|
||||
if(lastadded!=icu->driver->ob) {
|
||||
for (icu= ipo->curve.first; icu; icu= icu->next) {
|
||||
if (icu->driver && icu->driver->ob) {
|
||||
if (lastadded != icu->driver->ob) {
|
||||
outliner_add_element(soops, &te->subtree, icu->driver->ob, te, TSE_LINKED_OB, 0);
|
||||
lastadded= icu->driver->ob;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ID_AC:
|
||||
{
|
||||
bAction *act= (bAction *)id;
|
||||
|
Loading…
Reference in New Issue
Block a user