Blender Git Loki

Git Commits -> Revision 4c3ed98

Revision 4c3ed98 by Dalai Felinto (master)
November 25, 2018, 11:50 (GMT)
Local View

Bring back per-viewport localview. This is based on Blender 2.79.
We have a limit of 16 different local view viewports.

We are using both the numpad /, as well as the regular /.

Missing features:
* Hack to make sure lights are always visible.
* Make rendered mode with external engines to support this as well
(probably just need to support this in the RNA iterators).
* Support over 16 viewports by taking existing viewports out of local view.

The code can use a cleanup pass in the future to unify the test to see
if an object is visible (or we can use TESTBASE in more places).

Commit Details:

Full Hash: 4c3ed98ca27667c3403361199096e31eaa93cce2
Parent Commit: e60c49e
Lines Changed: +877, -397

77 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+3, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+67, -36) (Diff)
/source/blender/blenkernel/BKE_object.h (+6, -6) (Diff)
/source/blender/blenkernel/intern/layer.c (+70, -19) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/object.c (+12, -12) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -16) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+19, -5) (Diff)
/source/blender/editors/armature/armature_add.c (+3, -3) (Diff)
/source/blender/editors/armature/armature_edit.c (+10, -10) (Diff)
/source/blender/editors/armature/armature_naming.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_relations.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_select.c (+12, -12) (Diff)
/source/blender/editors/armature/editarmature_undo.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_edit.c (+6, -4) (Diff)
/source/blender/editors/armature/pose_select.c (+6, -6) (Diff)
/source/blender/editors/armature/pose_slide.c (+3, -1) (Diff)
/source/blender/editors/armature/pose_transform.c (+6, -3) (Diff)
/source/blender/editors/armature/pose_utils.c (+3, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+19, -19) (Diff)
/source/blender/editors/curve/editcurve_paint.c (+1, -1) (Diff)
/source/blender/editors/curve/editcurve_select.c (+11, -11) (Diff)
/source/blender/editors/curve/editcurve_undo.c (+1, -1) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -1) (Diff)
/source/blender/editors/include/ED_object.h (+3, -2) (Diff)
/source/blender/editors/include/ED_uvedit.h (+1, -0) (Diff)
/source/blender/editors/lattice/editlattice_select.c (+7, -7) (Diff)
/source/blender/editors/lattice/editlattice_tools.c (+4, -3) (Diff)
/source/blender/editors/lattice/editlattice_undo.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_bevel.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_bisect.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_extrude.c (+7, -7) (Diff)
/source/blender/editors/mesh/editmesh_extrude_screw.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_extrude_spin.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_inset.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_intersect.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_path.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_polybuild.c (+8, -8) (Diff)
/source/blender/editors/mesh/editmesh_rip.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_rip_edge.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+22, -22) (Diff)
/source/blender/editors/mesh/editmesh_select_similar.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+60, -60) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+1, -1) (Diff)
/source/blender/editors/metaball/editmball_undo.c (+1, -1) (Diff)
/source/blender/editors/metaball/mball_edit.c (+7, -7) (Diff)
/source/blender/editors/object/object_edit.c (+4, -2) (Diff)
/source/blender/editors/object/object_random.c (+1, -1) (Diff)
/source/blender/editors/object/object_select.c (+21, -10) (Diff)
/source/blender/editors/object/object_vgroup.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_context.c (+46, -9) (Diff)
/source/blender/editors/space_info/info_stats.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_preselect_type.c (+4, -2) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+6, -6) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+5, -5) (Diff)
/source/blender/editors/space_view3d/view3d_utils.c (+2, -7) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+308, -0) (Diff)
/source/blender/editors/transform/transform_generics.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_gizmo_2d.c (+2, -1) (Diff)
/source/blender/editors/transform/transform_gizmo_3d.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+17, -17) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+2, -1) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+11, -10) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021