Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 3,270 Lines • ▼ Show 20 Lines | */ | ||||
| /* Initialize brush curves sculpt settings. */ | /* Initialize brush curves sculpt settings. */ | ||||
| LISTBASE_FOREACH (Brush *, brush, &bmain->brushes) { | LISTBASE_FOREACH (Brush *, brush, &bmain->brushes) { | ||||
| if (brush->ob_mode != OB_MODE_SCULPT_CURVES) { | if (brush->ob_mode != OB_MODE_SCULPT_CURVES) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| brush->curves_sculpt_settings->density_add_attempts = 100; | brush->curves_sculpt_settings->density_add_attempts = 100; | ||||
| } | } | ||||
| /* Disable 'show_bounds' option of curve objects. Option was set as there was no object mode | |||||
| * outline implementation. See T95933. */ | |||||
| LISTBASE_FOREACH (Object *, ob, &bmain->objects) { | |||||
| if (ob->type == OB_CURVES) { | |||||
| ob->dtx &= ~OB_DRAWBOUNDOX; | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||