2.5: fix crash due to keyingset commit, ot->idname should always be set.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 11 Feb 2009 14:56:35 +0000 (14:56 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 11 Feb 2009 14:56:35 +0000 (14:56 +0000)
source/blender/editors/space_outliner/outliner.c

index 11d8cf50d4b313d121f2078947b7584c066246b9..7d06c98577d598a5772c0aa6555f279eae47ead9 100644 (file)
@@ -3116,7 +3116,8 @@ static KeyingSet *verify_active_keyingset(Scene *scene, short add)
 
 void OUTLINER_OT_keyingset_add_selected(wmOperatorType *ot)
 {
-
+       ot->idname= "OUTLINER_OT_keyingset_add_selected";
+       ot->name= "Keyingset Add Selected";
 }
 
 
@@ -3124,7 +3125,8 @@ void OUTLINER_OT_keyingset_add_selected(wmOperatorType *ot)
 
 void OUTLINER_OT_keyingset_remove_selected(wmOperatorType *ot)
 {
-
+       ot->idname= "OUTLINER_OT_keyingset_remove_selected";
+       ot->name= "Keyingset Remove Selected";
 }
 
 /* ***************** DRAW *************** */