[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16551] trunk/blender/source/blender/src/ outliner.c: Bugfix #17622: clicking on action IPO in outliner causes crash
Joshua Leung
aligorith at gmail.com
Tue Sep 16 08:33:59 CEST 2008
Revision: 16551
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16551
Author: aligorith
Date: 2008-09-16 08:33:59 +0200 (Tue, 16 Sep 2008)
Log Message:
-----------
Bugfix #17622: clicking on action IPO in outliner causes crash
In some cases, no action channels existed, but yet the Outliner displayed some that, when clicked on, would cause a crash.
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-09-16 06:31:55 UTC (rev 16550)
+++ trunk/blender/source/blender/src/outliner.c 2008-09-16 06:33:59 UTC (rev 16551)
@@ -1640,7 +1640,8 @@
if(chan->ipo) a++;
}
deselect_actionchannels(ob->action, 0);
- select_channel(ob->action, chan, SELECT_ADD);
+ if (chan)
+ select_channel(ob->action, chan, SELECT_ADD);
allqueue(REDRAWACTION, ob->ipowin);
allqueue(REDRAWVIEW3D, ob->ipowin);
}
More information about the Bf-blender-cvs
mailing list