Cycles: svn merge -r40266:40358 https://svn.blender.org/svnroot/bf-blender/trunk...
[blender-staging.git] / source / blender / makesrna / intern / rna_access.c
index 861df8a0f81903f20a5c3699edea419b1bf3200f..886e0dc5d03d4e8e71eb19e73e5fbd22bed9cd8f 100644 (file)
@@ -2912,7 +2912,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
                itemtype= RNA_property_type(itemprop);
 
                if(!ELEM3(itemtype, PROP_BOOLEAN, PROP_INT, PROP_FLOAT)) {
-                       BKE_report(reports, RPT_ERROR, "Only boolean, int and float properties supported.");
+                       BKE_report(reports, RPT_ERROR, "Only boolean, int and float properties supported");
                        return 0;
                }
 
@@ -2923,7 +2923,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
                if(RNA_property_collection_raw_array(ptr, prop, itemprop, &out)) {
                        int arraylen = (itemlen == 0) ? 1 : itemlen;
                        if(in.len != arraylen*out.len) {
-                               BKE_reportf(reports, RPT_ERROR, "Array length mismatch (expected %d, got %d).", out.len*arraylen, in.len);
+                               BKE_reportf(reports, RPT_ERROR, "Array length mismatch (expected %d, got %d)", out.len*arraylen, in.len);
                                return 0;
                        }
                        
@@ -2979,13 +2979,13 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
                                                itemtype= RNA_property_type(iprop);
                                        }
                                        else {
-                                               BKE_reportf(reports, RPT_ERROR, "Property named %s not found.", propname);
+                                               BKE_reportf(reports, RPT_ERROR, "Property named %s not found", propname);
                                                err= 1;
                                                break;
                                        }
 
                                        if(!ELEM3(itemtype, PROP_BOOLEAN, PROP_INT, PROP_FLOAT)) {
-                                               BKE_report(reports, RPT_ERROR, "Only boolean, int and float properties supported.");
+                                               BKE_report(reports, RPT_ERROR, "Only boolean, int and float properties supported");
                                                err= 1;
                                                break;
                                        }
@@ -2994,7 +2994,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
                                /* editable check */
                                if(!set || RNA_property_editable(&itemptr, iprop)) {
                                        if(a+itemlen > in.len) {
-                                               BKE_reportf(reports, RPT_ERROR, "Array length mismatch (got %d, expected more).", in.len);
+                                               BKE_reportf(reports, RPT_ERROR, "Array length mismatch (got %d, expected more)", in.len);
                                                err= 1;
                                                break;
                                        }