diff options
author | Erik Abrahamsson <ecke101@gmail.com> | 2022-07-12 19:31:33 +0300 |
---|---|---|
committer | Erik Abrahamsson <ecke101@gmail.com> | 2022-07-12 19:31:33 +0300 |
commit | 9f153949f9ee1cbea04687c2a99d9e1e2f891962 (patch) | |
tree | 3752c3af0d9735b590fdbf6aae0701ade80ba4de /source/blender/blenkernel | |
parent | 1c382a4940c6e609786c92c795a25eb8ff7ea608 (diff) |
Enable "copy to selected" for new Curves modifiers
The operator bpy.ops.object.modifier_copy_to_selected()
does not work for the new Curves objects.
This is because it isn't added to BKE_object_supports_modifiers.
Differential Revision: https://developer.blender.org/D15439
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.cc b/source/blender/blenkernel/intern/object.cc index f7436b6112c..62ebb45b0ed 100644 --- a/source/blender/blenkernel/intern/object.cc +++ b/source/blender/blenkernel/intern/object.cc @@ -1402,6 +1402,7 @@ bool BKE_object_supports_modifiers(const Object *ob) { return (ELEM(ob->type, OB_MESH, + OB_CURVES, OB_CURVES_LEGACY, OB_SURF, OB_FONT, |