diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-12-20 11:57:26 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-12-20 11:57:26 +0400 |
commit | a462d69bbf771e49d2fa49589608c375376b42ed (patch) | |
tree | 60d85d4131399a0a39dbc582e30a7144b14edc18 /source/blender/blenkernel/BKE_linestyle.h | |
parent | d433cd65f7127d60e17d05a824290423ad226eae (diff) |
Another big patch set by Bastien Montagne, thanks a lot!
* Made Freestyle optional (turned on by default).
* Fix for missing bpath.c updates in the previous merge of trunk changes.
Diffstat (limited to 'source/blender/blenkernel/BKE_linestyle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_linestyle.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_linestyle.h b/source/blender/blenkernel/BKE_linestyle.h index 3cbf3454f0b..e077cd998c9 100644 --- a/source/blender/blenkernel/BKE_linestyle.h +++ b/source/blender/blenkernel/BKE_linestyle.h @@ -27,11 +27,14 @@ #ifndef __BKE_LINESTYLE_H__ #define __BKE_LINESTYLE_H__ + /** \file BKE_linestyle.h * \ingroup bke * \brief Blender kernel freestyle line style functionality. */ +#ifdef WITH_FREESTYLE + #include "DNA_linestyle_types.h" #define LS_MODIFIER_TYPE_COLOR 1 @@ -71,4 +74,6 @@ char *FRS_path_from_ID_to_color_ramp(FreestyleLineStyle *linestyle, ColorBand *c void FRS_unlink_linestyle_target_object(FreestyleLineStyle *linestyle, struct Object *ob); -#endif +#endif /* WITH_FREESTYLE */ + +#endif /* __BKE_LINESTYLE_H__ */ |