Cryptomatte: Show Name of Object/Material Under The Cursor.

This change shows the object or material name with the cursor when picking for a cryptomatte node.

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D10705
This commit is contained in:
2021-03-17 08:48:05 +01:00
parent f4639276ee
commit 97defd9cd7
9 changed files with 91 additions and 23 deletions

View File

@@ -77,7 +77,7 @@ typedef struct DataDropper {
static void datadropper_draw_cb(const struct bContext *C, ARegion *region, void *arg)
{
DataDropper *ddr = arg;
eyedropper_draw_cursor_text(C, region, ddr->name);
eyedropper_draw_cursor_text_region(C, region, ddr->name);
}
static int datadropper_init(bContext *C, wmOperator *op)