diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-07-16 10:25:10 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-08-12 05:10:22 +0400 |
commit | cb75f79b8a70fdae806e1ce57015cb8afb14c097 (patch) | |
tree | 50728dd8dc0242f785d19aea978163446312aaae /source/blender/blenkernel/BKE_linestyle.h | |
parent | 4e11fcead0f7262bf92e873882bf9141a749ff32 (diff) |
Freestyle: Add BKE_linestyle_default_shader() for creating the default line style shader node tree.
Changes to ED_node_shader_default() were reverted since the code there was actually
not suitable for setting up the default line style node tree properly.
Diffstat (limited to 'source/blender/blenkernel/BKE_linestyle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_linestyle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_linestyle.h b/source/blender/blenkernel/BKE_linestyle.h index 82667cf78d9..ec13463927d 100644 --- a/source/blender/blenkernel/BKE_linestyle.h +++ b/source/blender/blenkernel/BKE_linestyle.h @@ -43,6 +43,7 @@ struct Main; struct Object; struct ColorBand; +struct bContext; FreestyleLineStyle *BKE_linestyle_new(const char *name, struct Main *main); void BKE_linestyle_free(FreestyleLineStyle *linestyle); @@ -75,4 +76,6 @@ char *BKE_linestyle_path_to_color_ramp(FreestyleLineStyle *linestyle, struct Col void BKE_linestyle_target_object_unlink(FreestyleLineStyle *linestyle, struct Object *ob); +void BKE_linestyle_default_shader(const struct bContext *C, FreestyleLineStyle *linestyle); + #endif /* __BKE_LINESTYLE_H__ */ |