Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 1,944 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| ID *id = ptr->id.data; | ID *id = ptr->id.data; | ||||
| if (id && GS(id->name) == ID_IM) { | if (id && GS(id->name) == ID_IM) { | ||||
| Image *ima = (Image *)id; | Image *ima = (Image *)id; | ||||
| ImBuf *ibuf; | ImBuf *ibuf; | ||||
| void *lock; | void *lock; | ||||
| if ((ima->flag & IMA_IS_STEREO) == 0) | if (!BKE_image_is_stereo(ima)) | ||||
| return; | return; | ||||
| ibuf = BKE_image_acquire_ibuf(ima, NULL, &lock); | ibuf = BKE_image_acquire_ibuf(ima, NULL, &lock); | ||||
| if (ibuf) { | if (ibuf) { | ||||
| BKE_image_signal(ima, NULL, IMA_SIGNAL_FREE); | BKE_image_signal(ima, NULL, IMA_SIGNAL_FREE); | ||||
| } | } | ||||
| BKE_image_release_ibuf(ima, ibuf, lock); | BKE_image_release_ibuf(ima, ibuf, lock); | ||||
| ▲ Show 20 Lines • Show All 4,607 Lines • Show Last 20 Lines | |||||