diff options
author | Jacques Lucke <jacques@blender.org> | 2022-10-18 18:16:51 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-10-18 18:17:08 +0300 |
commit | 91e85230f9c1b490f7424b9da7bbd65b7c0c4068 (patch) | |
tree | dd939559f65117c5eadd342d33ca4bdd6499b4e5 /source/blender/blenkernel/intern/geometry_set.cc | |
parent | 91ecf47b2c6b884aadb5550adeda03d5700988d4 (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/blenkernel/intern/geometry_set.cc')
-rw-r--r-- | source/blender/blenkernel/intern/geometry_set.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/geometry_set.cc b/source/blender/blenkernel/intern/geometry_set.cc index 90568a8a080..ee4c398c3d6 100644 --- a/source/blender/blenkernel/intern/geometry_set.cc +++ b/source/blender/blenkernel/intern/geometry_set.cc @@ -607,7 +607,10 @@ void GeometrySet::gather_attributes_for_propagation( return; } } - + if (meta_data.data_type == CD_PROP_STRING) { + /* Propagating string attributes is not supported yet. */ + return; + } if (!attribute_id.should_be_kept()) { return; } |