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
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-10 13:53:17 +0300
committerJacques Lucke <jacques@blender.org>2021-03-10 13:53:31 +0300
commit368647bd25d6bb0b32f5e439838c06e0e46ac8da (patch)
treec7c427ef51416358d34413b67f74836db3f96e47 /source/blender/blenkernel/intern/geometry_component_instances.cc
parent122fefcc8589a09d4e89ed3045f29f07ec6564e9 (diff)
Geometry Nodes: move geometry component type enum to C
This allows us to use it in rna for the spreadsheet editor.
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_instances.cc')
-rw-r--r--source/blender/blenkernel/intern/geometry_component_instances.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_instances.cc b/source/blender/blenkernel/intern/geometry_component_instances.cc
index a6ee7a1b918..68c551645d2 100644
--- a/source/blender/blenkernel/intern/geometry_component_instances.cc
+++ b/source/blender/blenkernel/intern/geometry_component_instances.cc
@@ -35,7 +35,7 @@ using blender::Span;
/** \name Geometry Component Implementation
* \{ */
-InstancesComponent::InstancesComponent() : GeometryComponent(GeometryComponentType::Instances)
+InstancesComponent::InstancesComponent() : GeometryComponent(GEO_COMPONENT_TYPE_INSTANCES)
{
}