Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readfile.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,639 Lines • ▼ Show 20 Lines | // >>> XXX deprecated - old animation system | ||||
| ob->derivedDeform = NULL; | ob->derivedDeform = NULL; | ||||
| ob->derivedFinal = NULL; | ob->derivedFinal = NULL; | ||||
| BKE_object_runtime_reset(ob); | BKE_object_runtime_reset(ob); | ||||
| link_list(fd, &ob->pc_ids); | link_list(fd, &ob->pc_ids); | ||||
| /* in case this value changes in future, clamp else we get undefined behavior */ | /* in case this value changes in future, clamp else we get undefined behavior */ | ||||
| CLAMP(ob->rotmode, ROT_MODE_MIN, ROT_MODE_MAX); | CLAMP(ob->rotmode, ROT_MODE_MIN, ROT_MODE_MAX); | ||||
| if (ob->sculpt) { | |||||
| if (ob->mode & OB_MODE_ALL_SCULPT) { | |||||
| ob->sculpt = MEM_callocN(sizeof(SculptSession), "reload sculpt session"); | |||||
| ob->sculpt->mode_type = ob->mode; | |||||
| } | |||||
| else { | |||||
| ob->sculpt = NULL; | ob->sculpt = NULL; | ||||
| } | |||||
| } | |||||
| link_list(fd, &ob->lodlevels); | link_list(fd, &ob->lodlevels); | ||||
| ob->currentlod = ob->lodlevels.first; | ob->currentlod = ob->lodlevels.first; | ||||
| ob->preview = direct_link_preview_image(fd, ob->preview); | ob->preview = direct_link_preview_image(fd, ob->preview); | ||||
| } | } | ||||
| static void direct_link_view_settings(FileData *fd, ColorManagedViewSettings *view_settings) | static void direct_link_view_settings(FileData *fd, ColorManagedViewSettings *view_settings) | ||||
| ▲ Show 20 Lines • Show All 5,318 Lines • Show Last 20 Lines | |||||