Fix Python API error message (do_unlink, instead of unlink)

This commit is contained in:
Dalai Felinto
2016-07-06 11:32:46 -03:00
parent 2fcb9ef919
commit 1640796ccc

View File

@@ -129,7 +129,7 @@ static void rna_Main_ID_remove(Main *bmain, ReportList *reports, PointerRNA *id_
}
else {
BKE_reportf(reports, RPT_ERROR,
"%s '%s' must have zero users to be removed, found %d (try with unlink=True parameter)",
"%s '%s' must have zero users to be removed, found %d (try with do_unlink=True parameter)",
BKE_idcode_to_name(GS(id->name)), id->name + 2, ID_REAL_USERS(id));
}
}