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:
authorHans Goudey <h.goudey@me.com>2021-07-15 22:44:54 +0300
committerHans Goudey <h.goudey@me.com>2021-07-15 22:44:54 +0300
commit20ddb64207a1b06df56b6666574843fa6d9b3374 (patch)
treea42eec855d4512457d91e6000546e4cee4980986
parentcc39200bfc21c5a1d0bb45c78bfc72b456a12938 (diff)
Fix incorrect enum
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc
index d7f8bdd6bc4..734d17ac459 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc
@@ -57,7 +57,7 @@ static void geo_node_curve_sample_init(bNodeTree *UNUSED(tree), bNode *node)
NodeGeometryCurveSample *data = (NodeGeometryCurveSample *)MEM_callocN(
sizeof(NodeGeometryCurveSample), __func__);
- data->mode = GEO_NODE_CURVE_RESAMPLE_COUNT;
+ data->mode = GEO_NODE_CURVE_SAMPLE_FACTOR;
node->storage = data;
}