diff --git a/paint/sources/util/util_nodes.c b/paint/sources/util/util_nodes.c index 1de7914b..dc3374d0 100644 --- a/paint/sources/util/util_nodes.c +++ b/paint/sources/util/util_nodes.c @@ -62,7 +62,7 @@ gpu_texture_t *ui_nodes_get_node_preview_image(ui_node_t *n) { if (string_equals(n->type, "LAYER") || string_equals(n->type, "LAYER_MASK")) { i32 id = n->buttons->buffer[0]->default_value->buffer[0]; if (id < g_project->_->layers->length) { - img = g_project->_->layers->buffer[id]->texpaint_preview; + img = g_project->_->layers->buffer[id]->texpaint; } } else if (string_equals(n->type, "MATERIAL")) {