svn merge ^/trunk/blender -r43294:43338
[blender.git] / source / blender / editors / util / undo.c
index be596a9a4a92f1c075263a511e3afff7866e85fd..56a835beeb8db3e5364ca3eb76b6d0bacc282129 100644 (file)
@@ -524,7 +524,7 @@ static int undo_history_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(even
 /* note: also check ed_undo_step() in top if you change notifiers */
 static int undo_history_exec(bContext *C, wmOperator *op)
 {
-       if(RNA_property_is_set(op->ptr, "item")) {
+       if(RNA_struct_property_is_set(op->ptr, "item")) {
                int undosys= get_undo_system(C);
                int item= RNA_int_get(op->ptr, "item");