Freestyle: Fix for a few line style properties left not copied.

This commit is contained in:
Tamito Kajiyama 2015-03-08 15:27:13 +09:00
parent 7d38d85340
commit 60f7f93c16
1 changed files with 3 additions and 0 deletions

View File

@ -199,8 +199,11 @@ FreestyleLineStyle *BKE_linestyle_copy(FreestyleLineStyle *linestyle)
new_linestyle->dash3 = linestyle->dash3;
new_linestyle->gap3 = linestyle->gap3;
new_linestyle->panel = linestyle->panel;
new_linestyle->sort_key = linestyle->sort_key;
new_linestyle->integration_type = linestyle->integration_type;
new_linestyle->texstep = linestyle->texstep;
new_linestyle->pr_texture = linestyle->pr_texture;
new_linestyle->use_nodes = linestyle->use_nodes;
for (m = (LineStyleModifier *)linestyle->color_modifiers.first; m; m = m->next)
BKE_linestyle_color_modifier_copy(new_linestyle, m);
for (m = (LineStyleModifier *)linestyle->alpha_modifiers.first; m; m = m->next)