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>2022-10-18 18:16:51 +0300
committerJacques Lucke <jacques@blender.org>2022-10-18 18:17:08 +0300
commit91e85230f9c1b490f7424b9da7bbd65b7c0c4068 (patch)
treedd939559f65117c5eadd342d33ca4bdd6499b4e5 /source/blender/geometry
parent91ecf47b2c6b884aadb5550adeda03d5700988d4 (diff)
Fix T101660: crash when trying to propagate string attributes in some nodes
String attributes are intentionally not fully supported in geometry nodes yet because more design work is necessary to decide how they should behave. For now just disable handling string attributes to avoid crashes.
Diffstat (limited to 'source/blender/geometry')
-rw-r--r--source/blender/geometry/intern/resample_curves.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/geometry/intern/resample_curves.cc b/source/blender/geometry/intern/resample_curves.cc
index a7f6ac16f8d..3be850ec097 100644
--- a/source/blender/geometry/intern/resample_curves.cc
+++ b/source/blender/geometry/intern/resample_curves.cc
@@ -139,6 +139,9 @@ static void gather_point_attributes_to_interpolate(
if (meta_data.domain != ATTR_DOMAIN_POINT) {
return true;
}
+ if (meta_data.data_type == CD_PROP_STRING) {
+ return true;
+ }
if (!interpolate_attribute_to_curves(id, dst_curves.curve_type_counts())) {
return true;
}