From 44fdde569551679a4568f5c6005e9c70f5d98816 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 17 Jan 2011 23:30:28 +0000 Subject: fix missing notifier [#25682] bpy.data.materials['XXX'].texture_slot.clear(0) dosen't delete texture from screen --- source/blender/makesrna/intern/rna_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/intern/rna_internal.h') diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h index a512bb93d6b..a5dd4f58d5b 100644 --- a/source/blender/makesrna/intern/rna_internal.h +++ b/source/blender/makesrna/intern/rna_internal.h @@ -362,9 +362,9 @@ int rna_parameter_size(struct PropertyRNA *parm); int rna_parameter_size_alloc(struct PropertyRNA *parm); // XXX, these should not need to be defined here~! -struct MTex *rna_mtex_texture_slots_add(struct ID *self, struct ReportList *reports); -struct MTex *rna_mtex_texture_slots_create(struct ID *self, struct ReportList *reports, int index); -void rna_mtex_texture_slots_clear(struct ID *self, struct ReportList *reports, int index); +struct MTex *rna_mtex_texture_slots_add(struct ID *self, struct bContext *C, struct ReportList *reports); +struct MTex *rna_mtex_texture_slots_create(struct ID *self, struct bContext *C, struct ReportList *reports, int index); +void rna_mtex_texture_slots_clear(struct ID *self, struct bContext *C, struct ReportList *reports, int index); #endif /* RNA_INTERNAL_H */ -- cgit v1.2.3