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));
        }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to