Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_dragdrop.c
| Context not available. | |||||
| #include "RNA_access.h" | #include "RNA_access.h" | ||||
| #include "CLG_log.h" | |||||
| #include "WM_api.h" | #include "WM_api.h" | ||||
| #include "WM_types.h" | #include "WM_types.h" | ||||
| #include "wm_event_system.h" | #include "wm_event_system.h" | ||||
| static CLG_LogRef LOG = { "wm.dragdrop" }; | |||||
| /* ****************************************************** */ | /* ****************************************************** */ | ||||
| static ListBase dropboxes = {NULL, NULL}; | static ListBase dropboxes = {NULL, NULL}; | ||||
| Context not available. | |||||
| if (drop->ot == NULL) { | if (drop->ot == NULL) { | ||||
| MEM_freeN(drop); | MEM_freeN(drop); | ||||
| printf("Error: dropbox with unknown operator: %s\n", idname); | CLOG_ERROR(&LOG, "dropbox with unknown operator: %s", idname); | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| WM_operator_properties_alloc(&(drop->ptr), &(drop->properties), idname); | WM_operator_properties_alloc(&(drop->ptr), &(drop->properties), idname); | ||||
| Context not available. | |||||