Merged changes in the trunk up to revision 49986.
[blender.git] / source / blender / makesrna / intern / rna_main_api.c
index 62af5cbad214e90f57f4817a992a2a801597a564..ae1e8b5548bf4d9639ad92c2968723f452cd9065 100644 (file)
@@ -141,6 +141,7 @@ Object *rna_Main_objects_new(Main *UNUSED(bmain), ReportList *reports, const cha
        Object *ob;
        int type = OB_EMPTY;
        if (data) {
+               /* keep in sync with OB_DATA_SUPPORT_ID() macro */
                switch (GS(data->name)) {
                        case ID_ME:
                                type = OB_MESH;