From 28cf851a5c3128b075cb052fef0525351128dce1 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 25 Mar 2021 12:01:42 +0100 Subject: Geometry Nodes: rename attribute domains This patch renames two domains: * `Polygon` -> `Face` * `Corner` -> `Face Corner` For the change from `polygon` to `face` I did a "deep rename" where I updated all (most?) cases where we refere to the attribute domain in code as well. The change from `corner` to `face corner` is only a ui change. I did not see a real need to update all code the code for that. It does not seem to improve the code, more on the contrary. Ref T86818. Differential Revision: https://developer.blender.org/D10803 --- intern/cycles/blender/blender_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp index c7b49354d53..11158532738 100644 --- a/intern/cycles/blender/blender_mesh.cpp +++ b/intern/cycles/blender/blender_mesh.cpp @@ -375,7 +375,7 @@ static void attr_create_generic(Scene *scene, Mesh *mesh, BL::Mesh &b_mesh, bool case BL::Attribute::domain_POINT: element = ATTR_ELEMENT_VERTEX; break; - case BL::Attribute::domain_POLYGON: + case BL::Attribute::domain_FACE: element = ATTR_ELEMENT_FACE; break; default: -- cgit v1.2.3