Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_270.c
| Show First 20 Lines • Show All 452 Lines • ▼ Show 20 Lines | for (br = main->brush.first; br; br = br->id.next) { | ||||
| } | } | ||||
| br->mtex.random_angle = 2.0f * M_PI; | br->mtex.random_angle = 2.0f * M_PI; | ||||
| br->mask_mtex.random_angle = 2.0f * M_PI; | br->mask_mtex.random_angle = 2.0f * M_PI; | ||||
| } | } | ||||
| #undef BRUSH_RAKE | #undef BRUSH_RAKE | ||||
| #undef BRUSH_RANDOM_ROTATION | #undef BRUSH_RANDOM_ROTATION | ||||
| } | } | ||||
| /* Customizable Safe Areas */ | |||||
| if (!MAIN_VERSION_ATLEAST(main, 273, 0)) { | |||||
| Scene *scene; | |||||
| for (scene = main->scene.first; scene; scene = scene->id.next) { | |||||
| copy_v2_fl2(scene->safe_areas.title, 3.5f / 100.0f, 3.5f / 100.0f); | |||||
| copy_v2_fl2(scene->safe_areas.action, 10.0f / 100.0f, 5.0f / 100.0f); | |||||
| copy_v2_fl2(scene->safe_areas.title_center, 17.5f / 100.0f, 5.0f / 100.0f); | |||||
| copy_v2_fl2(scene->safe_areas.action_center, 15.0f / 100.0f, 5.0f / 100.0f); | |||||
| } | |||||
| } | |||||
| } | } | ||||