Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_image/space_image.c
| Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | static SpaceLink *image_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | ||||
| simage->spacetype = SPACE_IMAGE; | simage->spacetype = SPACE_IMAGE; | ||||
| simage->zoom = 1.0f; | simage->zoom = 1.0f; | ||||
| simage->lock = true; | simage->lock = true; | ||||
| simage->flag = SI_SHOW_GPENCIL | SI_USE_ALPHA | SI_COORDFLOATS; | simage->flag = SI_SHOW_GPENCIL | SI_USE_ALPHA | SI_COORDFLOATS; | ||||
| simage->uv_opacity = 1.0f; | simage->uv_opacity = 1.0f; | ||||
| simage->overlay.flag = SI_OVERLAY_SHOW_OVERLAYS; | simage->overlay.flag = SI_OVERLAY_SHOW_OVERLAYS; | ||||
| BKE_imageuser_default(&simage->iuser); | BKE_imageuser_default(&simage->iuser); | ||||
| simage->iuser.flag = IMA_SHOW_STEREO | IMA_ANIM_ALWAYS; | simage->iuser.flag = IMA_SHOW_STEREO | IMA_ANIM_ALWAYS | IMA_SHOW_MAX_RESOLUTION; | ||||
| BKE_scopes_new(&simage->scopes); | BKE_scopes_new(&simage->scopes); | ||||
| simage->sample_line_hist.height = 100; | simage->sample_line_hist.height = 100; | ||||
| simage->tile_grid_shape[0] = 1; | simage->tile_grid_shape[0] = 1; | ||||
| simage->tile_grid_shape[1] = 1; | simage->tile_grid_shape[1] = 1; | ||||
| /* tool header */ | /* tool header */ | ||||
| ▲ Show 20 Lines • Show All 1,004 Lines • Show Last 20 Lines | |||||