[Bf-blender-cvs] [1640796] master: Fix Python API error message (do_unlink, instead of unlink)
Dalai Felinto
noreply at git.blender.org
Wed Jul 6 16:33:09 CEST 2016
Commit: 1640796cccfee619feccd8a8cc556215996e962a
Author: Dalai Felinto
Date: Wed Jul 6 11:32:46 2016 -0300
Branches: master
https://developer.blender.org/rB1640796cccfee619feccd8a8cc556215996e962a
Fix Python API error message (do_unlink, instead of unlink)
===================================================================
M source/blender/makesrna/intern/rna_main_api.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c
index c0a0bc0..334ba06 100644
--- a/source/blender/makesrna/intern/rna_main_api.c
+++ b/source/blender/makesrna/intern/rna_main_api.c
@@ -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));
}
}
More information about the Bf-blender-cvs
mailing list