diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-03 09:23:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-03 09:27:15 +0300 |
commit | 3cbfe96681f69fcbccd1519d731168700dbf878a (patch) | |
tree | b603e609537172bd41139eb42c9ca1711aa22cc0 /source/blender/blenkernel/BKE_curve.h | |
parent | c017e1cb676314690a8c0b7da154a0815024171e (diff) |
Object: add BKE_object_obdata_to_type utility function
Move functionality to get the object type from an ID
into it's own function.
Diffstat (limited to 'source/blender/blenkernel/BKE_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 0bd4e3a7582..5930578c505 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -83,7 +83,7 @@ void BKE_curve_editfont_free(struct Curve *cu); void BKE_curve_init(struct Curve *cu, const short curve_type); struct Curve *BKE_curve_add(struct Main *bmain, const char *name, int type); struct Curve *BKE_curve_copy(struct Main *bmain, const struct Curve *cu); -short BKE_curve_type_get(struct Curve *cu); +short BKE_curve_type_get(const struct Curve *cu); void BKE_curve_type_test(struct Object *ob); void BKE_curve_curve_dimension_update(struct Curve *cu); |