Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/freestyle.c
| Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | if (lineset->linestyle) { | ||||
| } | } | ||||
| lineset->linestyle = NULL; | lineset->linestyle = NULL; | ||||
| } | } | ||||
| } | } | ||||
| BLI_freelistN(&config->linesets); | BLI_freelistN(&config->linesets); | ||||
| BLI_freelistN(&config->modules); | BLI_freelistN(&config->modules); | ||||
| } | } | ||||
| void BKE_freestyle_config_copy(FreestyleConfig *new_config, FreestyleConfig *config, const int flag) | void BKE_freestyle_config_copy(FreestyleConfig *new_config, const FreestyleConfig *config, const int flag) | ||||
| { | { | ||||
| FreestyleLineSet *lineset, *new_lineset; | FreestyleLineSet *lineset, *new_lineset; | ||||
| FreestyleModuleConfig *module, *new_module; | FreestyleModuleConfig *module, *new_module; | ||||
| new_config->mode = config->mode; | new_config->mode = config->mode; | ||||
| new_config->flags = config->flags; | new_config->flags = config->flags; | ||||
| new_config->sphere_radius = config->sphere_radius; | new_config->sphere_radius = config->sphere_radius; | ||||
| new_config->dkr_epsilon = config->dkr_epsilon; | new_config->dkr_epsilon = config->dkr_epsilon; | ||||
| ▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines | |||||