From 6ac2ee592912f1ae4d66fa90f43964a59f6259db Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 3 Jun 2010 16:26:04 +0000 Subject: [#22470] bpy.Image.gl_load/free() patch from Dan Eicher (dna) --- source/blender/makesrna/intern/rna_image.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/makesrna/intern/rna_image.c') diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index c9b25bf47a6..7d8248b58ed 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -432,6 +432,12 @@ static void rna_def_image(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Clamp Y", "Disable texture repeating vertically"); RNA_def_property_update(prop, NC_IMAGE|ND_DISPLAY, NULL); + prop= RNA_def_property(srna, "bindcode", PROP_INT, PROP_UNSIGNED); + RNA_def_property_int_sdna(prop, NULL, "bindcode"); + RNA_def_property_clear_flag(prop, PROP_EDITABLE); + RNA_def_property_ui_text(prop, "Bindcode", "OpenGL bindcode"); + RNA_def_property_update(prop, NC_IMAGE|ND_DISPLAY, NULL); + /* Image.has_data and Image.depth are temporary, Update import_obj.py when they are replaced (Arystan) -- cgit v1.2.3