Docs: Image.has_data clarification

Resolves T51615
This commit is contained in:
Campbell Barton 2017-05-25 19:54:54 +10:00
parent 24e3a930f1
commit 1ddf67382b
Notes: blender-bot 2023-02-14 19:38:47 +01:00
Referenced by issue blender/blender-addons#51615, Image attribute has_data gives incorrect values
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ static void rna_def_image(BlenderRNA *brna)
prop = RNA_def_property(srna, "has_data", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_funcs(prop, "rna_Image_has_data_get", NULL);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Has data", "True if this image has data");
RNA_def_property_ui_text(prop, "Has Data", "True if the image data is loaded into memory");
prop = RNA_def_property(srna, "depth", PROP_INT, PROP_UNSIGNED);
RNA_def_property_int_funcs(prop, "rna_Image_depth_get", NULL, NULL);