[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14585] trunk/blender/source/blender/src/ outliner.c: Bugfix:
Joshua Leung
aligorith at gmail.com
Mon Apr 28 07:14:26 CEST 2008
Revision: 14585
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14585
Author: aligorith
Date: 2008-04-28 07:14:26 +0200 (Mon, 28 Apr 2008)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/source/blender/src/outliner.c
Modified: trunk/blender/source/blender/src/outliner.c
===================================================================
--- trunk/blender/source/blender/src/outliner.c 2008-04-28 04:46:28 UTC (rev 14584)
+++ trunk/blender/source/blender/src/outliner.c 2008-04-28 05:14:26 UTC (rev 14585)
@@ -830,15 +830,16 @@
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;
More information about the Bf-blender-cvs
mailing list