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 1,956 Lines • ▼ Show 20 Lines | void blo_end_movieclip_pointer_map(FileData *fd, Main *oldmain) | ||||
| for (i = 0; i < fd->movieclipmap->nentries; i++, entry++) { | for (i = 0; i < fd->movieclipmap->nentries; i++, entry++) { | ||||
| if (entry->nr > 0) | if (entry->nr > 0) | ||||
| entry->newp = NULL; | entry->newp = NULL; | ||||
| } | } | ||||
| for (; clip; clip = clip->id.next) { | for (; clip; clip = clip->id.next) { | ||||
| clip->cache = newmclipadr(fd, clip->cache); | clip->cache = newmclipadr(fd, clip->cache); | ||||
| clip->tracking.camera.intrinsics = newmclipadr(fd, clip->tracking.camera.intrinsics); | clip->tracking.camera.intrinsics = newmclipadr(fd, clip->tracking.camera.intrinsics); | ||||
| MovieClip_RuntimeGPUTexture *tex; | |||||
| for (tex = clip->runtime.gputextures.first; tex ; tex=tex->next) { | |||||
| for (i = 0; i < TEXTARGET_COUNT; i++) { | |||||
| tex->gputexture[i] = NULL; | |||||
| } | |||||
| } | |||||
| BLI_freelistN(&clip->runtime.gputextures); | |||||
| } | } | ||||
| for (; sce; sce = sce->id.next) { | for (; sce; sce = sce->id.next) { | ||||
| if (sce->nodetree) { | if (sce->nodetree) { | ||||
| bNode *node; | bNode *node; | ||||
| for (node = sce->nodetree->nodes.first; node; node = node->next) | for (node = sce->nodetree->nodes.first; node; node = node->next) | ||||
| if (node->type == CMP_NODE_MOVIEDISTORTION) | if (node->type == CMP_NODE_MOVIEDISTORTION) | ||||
| node->storage = newmclipadr(fd, node->storage); | node->storage = newmclipadr(fd, node->storage); | ||||
| ▲ Show 20 Lines • Show All 9,578 Lines • Show Last 20 Lines | |||||