Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-25 14:01:42 +0300
committerJacques Lucke <jacques@blender.org>2021-03-25 14:02:50 +0300
commit28cf851a5c3128b075cb052fef0525351128dce1 (patch)
tree4e9e299b89ee2054c1199be8204821fa84277185 /intern
parent150e0553daff3c9bd6f1921fb1f91a41e4017d78 (diff)
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
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/blender_mesh.cpp2
1 files changed, 1 insertions, 1 deletions
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: