Fix for [#20157] 2.5 Can`t remove a linked objects from the 3D view by pressing X
authorMatt Ebb <matt@mke3.net>
Fri, 4 Dec 2009 05:05:50 +0000 (05:05 +0000)
committerMatt Ebb <matt@mke3.net>
Fri, 4 Dec 2009 05:05:50 +0000 (05:05 +0000)
source/blender/editors/object/object_add.c

index 1cda61fe90f03a13cb572f6ebd8c2234933d41c1..0ce58461268c256b83efc8faf148b5c63b126732 100644 (file)
@@ -742,7 +742,7 @@ static int object_delete_exec(bContext *C, wmOperator *op)
        if(CTX_data_edit_object(C)) 
                return OPERATOR_CANCELLED;
        
-       CTX_DATA_BEGIN(C, Base*, base, selected_editable_bases) {
+       CTX_DATA_BEGIN(C, Base*, base, selected_bases) {
 
                if(base->object->type==OB_LAMP) islamp= 1;