From 55e64f0ba4f43535a163090ddf6a1715de0a6fa4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Aug 2010 04:20:41 +0000 Subject: minor changes to Martni's commit 30961 - removed the immediate option from C/api and now store in python only, when python loads modules it sets it to False. - unloading a module would clear the entire TypeMap for all modules, only remove the module types that is being unloaded. - added some checks for bad class registering, report errors rather then crashing. --- source/blender/python/intern/bpy_rna.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/python/intern/bpy_rna.h') diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 32f2cd477d6..bd9838a76d4 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -86,8 +86,6 @@ int pyrna_set_to_enum_bitfield(EnumPropertyItem *items, PyObject *value, int *r_ int pyrna_enum_value_from_id(EnumPropertyItem *item, const char *identifier, int *value, const char *error_prefix); -void bpy_set_immediate_register(int value); - int pyrna_deferred_register_props(struct StructRNA *srna, PyObject *class_dict); /* called before stopping python */ -- cgit v1.2.3