Fix reversed names in modifier-remove error report
authorNicholas Bishop <nicholasbishop@gmail.com>
Sat, 18 Aug 2012 18:54:05 +0000 (18:54 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sat, 18 Aug 2012 18:54:05 +0000 (18:54 +0000)
source/blender/editors/object/object_modifier.c

index d3b099887ccd6e0288893d66d0a1d409cde14d2e..b82363abb4aa01dd3f7acb6aadc3087e1345e769 100644 (file)
@@ -336,7 +336,7 @@ int ED_object_modifier_remove(ReportList *reports, Main *bmain, Scene *scene, Ob
        ok = object_modifier_remove(bmain, ob, md, &sort_depsgraph);
 
        if (!ok) {
-               BKE_reportf(reports, RPT_ERROR, "Modifier '%s' not in object '%s'", ob->id.name, md->name);
+               BKE_reportf(reports, RPT_ERROR, "Modifier '%s' not in object '%s'", md->name, ob->id.name);
                return 0;
        }