Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_draw.c
| Context not available. | |||||
| /* correct projection matrix */ | /* correct projection matrix */ | ||||
| ED_region_pixelspace(ar); | ED_region_pixelspace(ar); | ||||
| /* local coordinate visible rect inside region, to accomodate overlapping ui */ | /* local coordinate visible rect inside region, to accommodate overlapping ui */ | ||||
| rcti rect; | rcti rect; | ||||
| ED_region_visible_rect(ar, &rect); | ED_region_visible_rect(ar, &rect); | ||||
| Context not available. | |||||
| { | { | ||||
| ED_view3d_draw_setup_view(CTX_wm_window(C), CTX_data_depsgraph(C), CTX_data_scene(C), ar, CTX_wm_view3d(C), NULL, NULL, NULL); | ED_view3d_draw_setup_view(CTX_wm_window(C), CTX_data_depsgraph(C), CTX_data_scene(C), ar, CTX_wm_view3d(C), NULL, NULL, NULL); | ||||
| /* Only 100% compliant on new spec goes bellow */ | /* Only 100% compliant on new spec goes below */ | ||||
| DRW_draw_view(C); | DRW_draw_view(C); | ||||
| } | } | ||||
| RenderEngineType *ED_view3d_engine_type(Scene *scene, int drawtype) | RenderEngineType *ED_view3d_engine_type(Scene *scene, int drawtype) | ||||
| { | { | ||||
| /* | /* | ||||
| * Tempory viewport draw modes until we have a proper system. | * Temporary viewport draw modes until we have a proper system. | ||||
| * all modes are done in the draw manager, except | * all modes are done in the draw manager, except | ||||
| * cycles material as it is an external render engine. | * cycles material as it is an external render engine. | ||||
| */ | */ | ||||
| Context not available. | |||||