Blender Git Commit Log
Git Commits -> Revision ab0bc65
Revision ab0bc65 by Bastien Montagne (master) March 7, 2019, 10:29 (GMT) |
Refactor CDData masks, to have one mask per mesh elem type. We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don?t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407 |
Commit Details:
Full Hash: ab0bc65c24bdf68c356adb2566f3669153c931ea
Parent Commit: cee5316
Lines Changed: +1061, -790
128 Modified Paths:
/source/blender/alembic/intern/abc_hair.cc (+1, -1) (Diff)
/source/blender/alembic/intern/abc_mesh.cc (+4, -4) (Diff)
/source/blender/alembic/intern/abc_points.cc (+1, -1) (Diff)
/source/blender/blenkernel/BKE_cdderivedmesh.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+13, -8) (Diff)
/source/blender/blenkernel/BKE_data_transfer.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+10, -8) (Diff)
/source/blender/blenkernel/BKE_editmesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+5, -4) (Diff)
/source/blender/blenkernel/BKE_mesh_runtime.h (+13, -12) (Diff)
/source/blender/blenkernel/BKE_modifier.h (+10, -11) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+22, -19) (Diff)
/source/blender/blenkernel/intern/crazyspace.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/customdata.c (+127, -53) (Diff)
/source/blender/blenkernel/intern/data_transfer.c (+25, -18) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+173, -135) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/fluidsim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+15, -15) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+20, -19) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+9, -5) (Diff)
/source/blender/blenkernel/intern/modifier.c (+9, -14) (Diff)
/source/blender/blenkernel/intern/multires.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/multires_reshape.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object_update.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/subdiv_foreach.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/subdiv_mesh.c (+3, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -7) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -0) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.c (+27, -22) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.h (+4, -3) (Diff)
/source/blender/collada/collada_utils.cpp (+4, -4) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+2, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+5, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+4, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+14, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+9, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph_type.cc (+12, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type.h (+92, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_id.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_id.h (+2, -2) (Diff)
/source/blender/editors/armature/armature_skinning.c (+1, -1) (Diff)
/source/blender/editors/include/ED_view3d.h (+7, -2) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+3, -2) (Diff)
/source/blender/editors/mesh/editmesh_knife_project.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+4, -4) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+7, -7) (Diff)
/source/blender/editors/mesh/mesh_data.c (+5, -5) (Diff)
/source/blender/editors/object/object_add.c (+4, -4) (Diff)
/source/blender/editors/object/object_bake.c (+4, -4) (Diff)
/source/blender/editors/object/object_data_transfer.c (+6, -2) (Diff)
/source/blender/editors/object/object_modifier.c (+4, -4) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/object/object_vgroup.c (+3, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+2, -2) (Diff)
/source/blender/editors/physics/particle_object.c (+4, -8) (Diff)
/source/blender/editors/render/render_opengl.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+12, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_proj.c (+7, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c (+5, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+9, -12) (Diff)
/source/blender/editors/space_view3d/view3d_iterators.c (+4, -4) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+13, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+6, -2) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_bevel.c (+7, -7) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+7, -8) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+7, -9) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+5, -8) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+8, -7) (Diff)
/source/blender/modifiers/intern/MOD_dynamicpaint.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_edgesplit.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+10, -6) (Diff)
/source/blender/modifiers/intern/MOD_laplaciandeform.c (+5, -4) (Diff)
/source/blender/modifiers/intern/MOD_laplaciansmooth.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+5, -10) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+4, -3) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+10, -11) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+3, -5) (Diff)
/source/blender/modifiers/intern/MOD_smooth.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_solidify.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_triangulate.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_uvwarp.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+7, -7) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+7, -9) (Diff)
/source/blender/modifiers/intern/MOD_weighted_normal.c (+6, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_wireframe.c (+6, -8) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+6, -6) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+6, -6) (Diff)
/source/blender/render/intern/source/pointdensity.c (+6, -3) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)
/source/blender/alembic/intern/abc_mesh.cc (+4, -4) (Diff)
/source/blender/alembic/intern/abc_points.cc (+1, -1) (Diff)
/source/blender/blenkernel/BKE_cdderivedmesh.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+13, -8) (Diff)
/source/blender/blenkernel/BKE_data_transfer.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+10, -8) (Diff)
/source/blender/blenkernel/BKE_editmesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+5, -4) (Diff)
/source/blender/blenkernel/BKE_mesh_runtime.h (+13, -12) (Diff)
/source/blender/blenkernel/BKE_modifier.h (+10, -11) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+22, -19) (Diff)
/source/blender/blenkernel/intern/crazyspace.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/customdata.c (+127, -53) (Diff)
/source/blender/blenkernel/intern/data_transfer.c (+25, -18) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+173, -135) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/fluidsim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+15, -15) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+20, -19) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+9, -5) (Diff)
/source/blender/blenkernel/intern/modifier.c (+9, -14) (Diff)
/source/blender/blenkernel/intern/multires.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/multires_reshape.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object_update.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/subdiv_foreach.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/subdiv_mesh.c (+3, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -7) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -0) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.c (+27, -22) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.h (+4, -3) (Diff)
/source/blender/collada/collada_utils.cpp (+4, -4) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+2, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+5, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+4, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+14, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+9, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph_type.cc (+12, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type.h (+92, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_id.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_id.h (+2, -2) (Diff)
/source/blender/editors/armature/armature_skinning.c (+1, -1) (Diff)
/source/blender/editors/include/ED_view3d.h (+7, -2) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+3, -2) (Diff)
/source/blender/editors/mesh/editmesh_knife_project.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+4, -4) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+7, -7) (Diff)
/source/blender/editors/mesh/mesh_data.c (+5, -5) (Diff)
/source/blender/editors/object/object_add.c (+4, -4) (Diff)
/source/blender/editors/object/object_bake.c (+4, -4) (Diff)
/source/blender/editors/object/object_data_transfer.c (+6, -2) (Diff)
/source/blender/editors/object/object_modifier.c (+4, -4) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/object/object_vgroup.c (+3, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+2, -2) (Diff)
/source/blender/editors/physics/particle_object.c (+4, -8) (Diff)
/source/blender/editors/render/render_opengl.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+12, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_proj.c (+7, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c (+5, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+9, -12) (Diff)
/source/blender/editors/space_view3d/view3d_iterators.c (+4, -4) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+13, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+6, -2) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_bevel.c (+7, -7) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+7, -8) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+7, -9) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+5, -8) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+8, -7) (Diff)
/source/blender/modifiers/intern/MOD_dynamicpaint.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_edgesplit.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+10, -6) (Diff)
/source/blender/modifiers/intern/MOD_laplaciandeform.c (+5, -4) (Diff)
/source/blender/modifiers/intern/MOD_laplaciansmooth.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+5, -6) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+5, -10) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+4, -3) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+10, -11) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+3, -5) (Diff)
/source/blender/modifiers/intern/MOD_smooth.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_solidify.c (+4, -5) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_triangulate.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+2, -6) (Diff)
/source/blender/modifiers/intern/MOD_uvwarp.c (+4, -6) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+7, -7) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+7, -9) (Diff)
/source/blender/modifiers/intern/MOD_weighted_normal.c (+6, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+5, -7) (Diff)
/source/blender/modifiers/intern/MOD_wireframe.c (+6, -8) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+6, -6) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+6, -6) (Diff)
/source/blender/render/intern/source/pointdensity.c (+6, -3) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)