diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-09-18 04:31:22 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-09-18 04:31:22 +0400 |
commit | 56303415e4d534d4f2f4075a818a2aa19ea19fbd (patch) | |
tree | 768355c547c5a9971dfa1120d4e41ba64454a9b4 /source/blender/blenkernel/BKE_linestyle.h | |
parent | fdb4b0c3ed9279473eb0edf4bac0333e7e929727 (diff) |
Added support for animation of line style parameters.
Most stylization parameters in line style datablocks are now
animatable by means of keyframes. Right click on a line
style parameter, and you will see a list of keyframe-related
commands in the context menu.
Concerning the implementation, RNA path resolution has been
extended to properly address color ramps in line style color
modifiers. File I/O has been also improved to load/save the
animation data associated with line style datablocks.
Known issue: Freestyle-related options in render layers are
not animatable at the moment, because of general inability (or
maybe a bug) that keyframes cannot be inserted with respect to
render layer options.
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 0514cb73e5b..2e68ab38ecd 100644 --- a/source/blender/blenkernel/BKE_linestyle.h +++ b/source/blender/blenkernel/BKE_linestyle.h @@ -55,4 +55,7 @@ void FRS_move_linestyle_color_modifier(FreestyleLineStyle *linestyle, LineStyleM void FRS_move_linestyle_alpha_modifier(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction); void FRS_move_linestyle_thickness_modifier(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction); +void FRS_list_modifier_color_ramps(FreestyleLineStyle *linestyle, ListBase *listbase); +char *FRS_path_from_ID_to_color_ramp(FreestyleLineStyle *linestyle, ColorBand *color_ramp); + #endif |