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,089 Lines • ▼ Show 20 Lines | for (pchan = pose->chanbase.first; pchan; pchan=pchan->next) { | ||||
| BLI_listbase_clear(&pchan->iktree); | BLI_listbase_clear(&pchan->iktree); | ||||
| BLI_listbase_clear(&pchan->siktree); | BLI_listbase_clear(&pchan->siktree); | ||||
| /* 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(pchan->rotmode, ROT_MODE_MIN, ROT_MODE_MAX); | CLAMP(pchan->rotmode, ROT_MODE_MIN, ROT_MODE_MAX); | ||||
| pchan->draw_data = NULL; | pchan->draw_data = NULL; | ||||
| memset(&pchan->runtime, 0, sizeof(pchan->runtime)); | |||||
| } | } | ||||
| pose->ikdata = NULL; | pose->ikdata = NULL; | ||||
| if (pose->ikparam != NULL) { | if (pose->ikparam != NULL) { | ||||
| pose->ikparam = newdataadr(fd, pose->ikparam); | pose->ikparam = newdataadr(fd, pose->ikparam); | ||||
| } | } | ||||
| } | } | ||||
| static void direct_link_modifiers(FileData *fd, ListBase *lb) | static void direct_link_modifiers(FileData *fd, ListBase *lb) | ||||
| ▲ Show 20 Lines • Show All 5,909 Lines • Show Last 20 Lines | |||||