[Bf-blender-cvs] [f4a418b] master: Crash when deleting NlaTrack
Romanov Alexander
noreply at git.blender.org
Sun Jan 25 06:57:01 CET 2015
Commit: f4a418b03195e617e0d57a77e59f57e191e1cec5
Author: Romanov Alexander
Date: Fri Jan 23 02:37:04 2015 +1300
Branches: master
https://developer.blender.org/rBf4a418b03195e617e0d57a77e59f57e191e1cec5
Crash when deleting NlaTrack
Steps to reproduce:
1) Create an object, animated with shape keys
2) Copy it with Alt-D
3) Push action down to nla track
4) Select that track and delete it
In attached file 1-3 steps are completed.
{F138559}
Alexander (Blend4Web Team)
Reviewers: aligorith
Subscribers: yurikovelenov, Evgeny_Rodygin, valentin_b4w, AlexKowel
Differential Revision: https://developer.blender.org/D1015
===================================================================
M source/blender/editors/space_nla/nla_channels.c
===================================================================
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index 0abe5e4..5476d1c 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -650,7 +650,7 @@ static int nlaedit_delete_tracks_exec(bContext *C, wmOperator *UNUSED(op))
return OPERATOR_CANCELLED;
/* get a list of the AnimData blocks being shown in the NLA */
- filter = (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_LIST_VISIBLE | ANIMFILTER_SEL);
+ filter = (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_LIST_VISIBLE | ANIMFILTER_SEL | ANIMFILTER_NODUPLIS);
ANIM_animdata_filter(&ac, &anim_data, filter, ac.data, ac.datatype);
/* delete tracks */
More information about the Bf-blender-cvs
mailing list