Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_image/image_ops.c
| Context not available. | |||||
| Image *ima = image_from_context(C); | Image *ima = image_from_context(C); | ||||
| int method = RNA_enum_get(op->ptr, "method"); | int method = RNA_enum_get(op->ptr, "method"); | ||||
| /* find the suppplied image by name */ | /* find the supplied image by name */ | ||||
| if (RNA_struct_property_is_set(op->ptr, "id")) { | if (RNA_struct_property_is_set(op->ptr, "id")) { | ||||
| char imaname[MAX_ID_NAME - 2]; | char imaname[MAX_ID_NAME - 2]; | ||||
| RNA_string_get(op->ptr, "id", imaname); | RNA_string_get(op->ptr, "id", imaname); | ||||
| Context not available. | |||||