Blender Git Loki

Git Commits -> Revision b7afbaf

Revision b7afbaf by Joshua Leung (master)
March 28, 2015, 10:23 (GMT)
Bugfix: Fix for crash when trying to create new action in Shape Key DopeSheet mode

When the active object had no shapekey data, trying to create a new action from the
Shape Keys mode of the DopeSheet would crash. The segfault here was a silly regression
caused by my earlier Action Stashing work.

However, the old (pre-Action Stashing) code here also wasn't that great either.
While it didn't crash, it would still silently create a new action, even if that
could not get assigned/used anywhere. To prevent both of these problems from
happening again, I've added additional null checks, as well as beefing up the poll
callback here to forbid keyframing

Commit Details:

Full Hash: b7afbaf8ccc315296d2dc824cc8d089108a38558
Parent Commit: 469ba8a
Lines Changed: +17, -3

1 Modified Path:

/source/blender/editors/space_action/action_edit.c (+17, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021