diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-06-27 04:03:34 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-06-27 04:03:34 +0400 |
commit | 0f5c19c32c058a861efb7018e145278ac6beda2b (patch) | |
tree | 0d9ab580fe74697614c163350ba8f2604029b9ff /source/blender/blenkernel/intern/linestyle.c | |
parent | 7abdf9b953cb3d67307b537acbfd7610ff282f47 (diff) |
More on the new GUI for the Parameter Editor mode. This is a WIP commit.
* Moved render layer-specific Freestyle options to a separate "Freestyle"
tab (in addition to the "Freestyle: Line Style" tab that has been introduced
in the previous commit).
* Added UI controls for specifying feature edge selection criteria in the
Parameter Editor mode. Feature edge selection starts with a set of all
feature edges in the view map. Each line set specifies edge selection
criteria (e.g., to select only visible crease edges) by enabling appropriate
UI controls (e.g., by turning on the "Crease" and "Visibility" toggle
buttons). Selected criteria are combined by logical conjunction. Logical
disjunction (e.g., "crease edges or contours") is represented by two or
more line sets.
* Slightly rearranged several UI controls in the Python Scripting mode.
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 0abf83fe422..1f768fee0ec 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -38,6 +38,11 @@ #include "BKE_linestyle.h" #include "BKE_main.h" +static void default_linestyle_settings(FreestyleLineStyle *linestyle) +{ + +} + FreestyleLineStyle *FRS_new_linestyle(char *name, struct Main *main) { FreestyleLineStyle *linestyle; @@ -47,7 +52,7 @@ FreestyleLineStyle *FRS_new_linestyle(char *name, struct Main *main) linestyle = (FreestyleLineStyle *)alloc_libblock(&main->linestyle, ID_LS, name); - /* todo: default parameter settings */ + default_linestyle_settings(linestyle); return linestyle; } |