Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/modes/object_mode.c
| Show First 20 Lines • Show All 1,109 Lines • ▼ Show 20 Lines | static void camera_background_images_stereo_setup(Scene *scene, | ||||
| } | } | ||||
| } | } | ||||
| static void DRW_shgroup_camera_background_images(OBJECT_Shaders *sh_data, | static void DRW_shgroup_camera_background_images(OBJECT_Shaders *sh_data, | ||||
| OBJECT_PassList *psl, | OBJECT_PassList *psl, | ||||
| Object *ob, | Object *ob, | ||||
| RegionView3D *rv3d) | RegionView3D *rv3d) | ||||
| { | { | ||||
| if (DRW_state_is_select()) { | |||||
| return; | |||||
| } | |||||
| if (!BKE_object_empty_image_frame_is_visible_in_view3d(ob, rv3d)) { | if (!BKE_object_empty_image_frame_is_visible_in_view3d(ob, rv3d)) { | ||||
| return; | return; | ||||
| } | } | ||||
| const DRWContextState *draw_ctx = DRW_context_state_get(); | const DRWContextState *draw_ctx = DRW_context_state_get(); | ||||
| struct ARegion *ar = draw_ctx->ar; | struct ARegion *ar = draw_ctx->ar; | ||||
| View3D *v3d = draw_ctx->v3d; | View3D *v3d = draw_ctx->v3d; | ||||
| Scene *scene = draw_ctx->scene; | Scene *scene = draw_ctx->scene; | ||||
| ▲ Show 20 Lines • Show All 2,811 Lines • Show Last 20 Lines | |||||