"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source/blender/editors/space_view3d/view3d_draw.c" between
blender-2.93.0.tar.xz and blender-2.93.1.tar.xz

About: Blender is a 3D graphics creation suite allowing modeling, animation, rendering, post-production, realtime interactive 3D and game creation and playback with cross-platform compatibility. LTS (Long Term Support) release.

view3d_draw.c  (blender-2.93.0.tar.xz):view3d_draw.c  (blender-2.93.1.tar.xz)
skipping to change at line 2032 skipping to change at line 2032
if (drawtype == OB_MATERIAL) { if (drawtype == OB_MATERIAL) {
v3d.shading.flag = V3D_SHADING_SCENE_WORLD | V3D_SHADING_SCENE_LIGHTS; v3d.shading.flag = V3D_SHADING_SCENE_WORLD | V3D_SHADING_SCENE_LIGHTS;
v3d.shading.render_pass = SCE_PASS_COMBINED; v3d.shading.render_pass = SCE_PASS_COMBINED;
} }
else if (drawtype == OB_RENDER) { else if (drawtype == OB_RENDER) {
v3d.shading.flag = V3D_SHADING_SCENE_WORLD_RENDER | V3D_SHADING_SCENE_LIGHTS _RENDER; v3d.shading.flag = V3D_SHADING_SCENE_WORLD_RENDER | V3D_SHADING_SCENE_LIGHTS _RENDER;
v3d.shading.render_pass = SCE_PASS_COMBINED; v3d.shading.render_pass = SCE_PASS_COMBINED;
} }
v3d.flag2 = V3D_HIDE_OVERLAYS; v3d.flag2 = V3D_HIDE_OVERLAYS;
/* HACK: When rendering gpencil objects this opacity is used to mix vertex col
ors in when not in
* render mode. */
v3d.overlay.gpencil_vertex_paint_opacity = 1.0f;
if (draw_flags & V3D_OFSDRAW_SHOW_ANNOTATION) { if (draw_flags & V3D_OFSDRAW_SHOW_ANNOTATION) {
v3d.flag2 |= V3D_SHOW_ANNOTATION; v3d.flag2 |= V3D_SHOW_ANNOTATION;
} }
if (draw_flags & V3D_OFSDRAW_SHOW_GRIDFLOOR) { if (draw_flags & V3D_OFSDRAW_SHOW_GRIDFLOOR) {
v3d.gridflag |= V3D_SHOW_FLOOR | V3D_SHOW_X | V3D_SHOW_Y; v3d.gridflag |= V3D_SHOW_FLOOR | V3D_SHOW_X | V3D_SHOW_Y;
} }
v3d.shading.background_type = V3D_SHADING_BACKGROUND_WORLD; v3d.shading.background_type = V3D_SHADING_BACKGROUND_WORLD;
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)