tornavis/source/blender/blenkernel
Antonioya 9a646b6a20 GP: New Armature modifier and tools to handle weights
This commit adds a new armature modifier for grease pencil. The deformations are done reusing the mesh deform routines.

There is also a new operator in weight paint mode to help the artist to generate weights base on armatures. This operator is required because 2D animation workflow is not equal to meshes when parent an object to armatures.

In the drawing engine has been added the option to handle the Fade object parameter used in armatures to see the strokes while move the bones.

When rename bones, all related data of grease pencil is renamed too. This not only affect new armature code, but also layers parented and hook modifiers.

Thanks @aligorith for his review and help.
2018-08-30 12:23:08 +02:00
..
intern GP: New Armature modifier and tools to handle weights 2018-08-30 12:23:08 +02:00
BKE_DerivedMesh.h Ported mesh_create_derived_view() to mesh_create_eval_final_view() 2018-07-10 12:00:58 +02:00
BKE_action.h Fix T56170: Fake dependency cycle in new depsgraph + interleaved armature update + proxy 2018-07-31 13:24:57 +02:00
BKE_addon.h BKE_addons: utility to remove by name 2018-07-06 07:55:29 +02:00
BKE_anim.h Cleanup: moar G.main removal from BKE area. 2018-06-12 17:57:24 +02:00
BKE_animsys.h GWN: Port to GPU module: Replace GWN prefix by GPU 2018-07-18 11:49:15 +02:00
BKE_appdir.h Workspaces: remove separate workspaces.blend config file. 2018-08-20 16:23:22 +02:00
BKE_armature.h Fix dependency graph for constraints depending on B-Bone shape. 2018-08-13 19:02:49 +03:00
BKE_autoexec.h
BKE_blender.h Fix T53274: Saving template prefs overwrites default prefs 2017-11-23 03:12:00 +11:00
BKE_blender_copybuffer.h
BKE_blender_undo.h Undo: unified undo system w/ linear history 2018-03-31 20:40:37 +02:00
BKE_blender_user_menu.h Cleanup: code style 2018-06-25 12:06:51 +02:00
BKE_blender_version.h Merge branch 'master' into blender2.8 2018-07-23 17:52:52 +02:00
BKE_blendfile.h Workspaces: replace bundled workspace.blend with embedded startup.blend. 2018-08-20 16:23:22 +02:00
BKE_bmfont.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_bmfont_types.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_boids.h
BKE_bpath.h
BKE_brush.h GP: Select color in Brush or in Properties 2018-08-25 00:04:40 +02:00
BKE_bvhutils.h transform_snap_object: Better bvhtree creation management for editing multiple objects. 2018-07-23 11:04:58 -03:00
BKE_cachefile.h Animation: Pass dependency graph to animation system 2018-05-31 18:07:55 +02:00
BKE_camera.h Cleanup: remove unused R_ORTHO / R_PANORAMA flags. 2018-08-15 18:40:56 +02:00
BKE_ccg.h
BKE_cdderivedmesh.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_cloth.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_collection.h Physics: update softbody and dynamic paint to get colliders from depsgraph. 2018-06-25 17:15:07 +02:00
BKE_collision.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_colorband.h UI: color-band eyedropper now combines samples 2017-12-13 15:38:11 +11:00
BKE_colortools.h Cleanup: trailing whitespace (comment blocks) 2018-06-01 18:19:39 +02:00
BKE_constraint.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_context.h New Grease Pencil object for 2D animation 2018-07-31 10:50:43 +02:00
BKE_crazyspace.h Depsgraph: remove EvaluationContext, pass Depsgraph instead. 2018-04-16 19:55:33 +02:00
BKE_curve.h Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag 2018-08-23 10:20:16 -03:00
BKE_customdata.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_customdata_file.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_data_transfer.h Cleanup: names: data transfer/mesh remap: dm -> me/mesh. 2018-06-21 15:33:10 +02:00
BKE_deform.h Cleanup: remove another bunch of DM usages, includes etc. 2018-06-29 14:57:02 +02:00
BKE_displist.h Merge branch 'master' into blender2.8 2018-06-17 17:10:19 +02:00
BKE_dynamicpaint.h Silence warning in greasepencil-object branch 2018-06-20 18:44:17 +02:00
BKE_editlattice.h Cleanup: split lattice into own library 2018-03-19 15:45:50 +01:00
BKE_editmesh.h Merge branch 'blender2.8' into soc-2018-bevel 2018-06-20 22:29:44 +05:30
BKE_editmesh_bvh.h
BKE_editmesh_tangent.h
BKE_effect.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_fcurve.h Merge branch 'master' into blender2.8 2018-06-17 17:10:19 +02:00
BKE_fluidsim.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_font.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_freestyle.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_global.h Merge branch 'master' into blender2.8 2018-07-12 21:43:51 +02:00
BKE_gpencil.h GP: Improve Subdivide and Simplify 2018-08-30 11:11:47 +02:00
BKE_gpencil_modifier.h Cleanup: style, duplicate includes 2018-07-31 20:11:55 +10:00
BKE_icons.h New Grease Pencil object for 2D animation 2018-07-31 10:50:43 +02:00
BKE_idcode.h
BKE_idprop.h Merge branch 'master' into blender2.8 2018-06-17 17:10:19 +02:00
BKE_image.h Cleanup: remove unused interlace code after removal of fields. 2018-07-10 17:58:08 +02:00
BKE_ipo.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_key.h Cleanup: remove DM from 'join as shape' operator. 2018-06-21 18:26:12 +02:00
BKE_lamp.h Merge branch 'master' into blender2.8 2018-01-11 10:19:00 +11:00
BKE_lattice.h GP: New Armature modifier and tools to handle weights 2018-08-30 12:23:08 +02:00
BKE_layer.h Workspaces: store view layer per main window, instead of per workspace. 2018-07-04 18:40:33 +02:00
BKE_library.h Add helper to BKE_library to generate unique string key for an ID. 2018-08-23 08:46:07 +02:00
BKE_library_idmap.h
BKE_library_override.h Refactor static override code to pass Main around. 2018-06-29 12:48:12 +02:00
BKE_library_query.h Merge ID static override, part I: core changes in DNA, BKE and .blend read/write. 2017-11-29 17:23:25 +01:00
BKE_library_remap.h Merge ID static override, part I: core changes in DNA, BKE and .blend read/write. 2017-11-29 17:23:25 +01:00
BKE_lightprobe.h
BKE_linestyle.h Workspaces: active view layer now always comes from workspace, not scene. 2018-04-26 17:06:14 +02:00
BKE_main.h Fix missing Cycles 3D viewport updates when editing materials, lamps. 2018-05-30 14:07:23 +02:00
BKE_mask.h Depsgraph: remove EvaluationContext, pass Depsgraph instead. 2018-04-16 19:55:33 +02:00
BKE_material.h New Grease Pencil object for 2D animation 2018-07-31 10:50:43 +02:00
BKE_mball.h Fix T56360: metaball viewport checkbox crash. 2018-08-23 21:40:43 +02:00
BKE_mball_tessellate.h Merge branch 'master' into blender2.8 2018-06-11 14:39:38 +02:00
BKE_mesh.h Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag 2018-08-23 10:20:16 -03:00
BKE_mesh_iterators.h Cleanup: some moar DM kicking, in armature edit code. 2018-06-29 12:48:12 +02:00
BKE_mesh_mapping.h Cleanup: Use const qualifier for UV vertex map 2018-07-16 15:58:12 +02:00
BKE_mesh_remap.h Cleanup: names: data transfer/mesh remap: dm -> me/mesh. 2018-06-21 15:33:10 +02:00
BKE_mesh_runtime.h Cleanup: comment naming which will be changed 2018-08-21 20:52:41 +10:00
BKE_mesh_tangent.h Cleanup: add file doxy comments 2018-08-30 01:56:08 +10:00
BKE_modifier.h Modifiers: Use bool for boolean flag in isDisabled 2018-07-10 12:14:33 +02:00
BKE_movieclip.h Fix viewport selection of markers not updating in all editors 2018-08-15 09:46:33 -03:00
BKE_multires.h Multires: Remove another unused argument from reshape function 2018-08-22 16:59:00 +02:00
BKE_nla.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_node.h GPUMaterial: Make Localize tree live longer 2018-08-01 22:08:36 +02:00
BKE_object.h Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag 2018-08-23 10:20:16 -03:00
BKE_object_deform.h Fix T53206: Array modifier doesn't merge vgroups 2018-03-06 09:57:41 +11:00
BKE_object_facemap.h
BKE_ocean.h Ocean Modifier: prevent crashing on 'Apply Modifier' button 2018-07-10 12:00:58 +02:00
BKE_outliner_treehash.h Fix T55226: outliner glitch with item open/close, after recent optimization. 2018-05-28 17:10:00 +02:00
BKE_packedFile.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_paint.h New Grease Pencil object for 2D animation 2018-07-31 10:50:43 +02:00
BKE_particle.h Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag 2018-08-23 10:20:16 -03:00
BKE_pbvh.h Sculpt: Optimize Mask Overlay drawing 2018-08-24 16:46:59 +02:00
BKE_pointcache.h Particles: Support changing modifiers during particle edit mode 2018-06-19 15:28:33 +02:00
BKE_report.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_rigidbody.h Prevent copying too much in the Rigid Body simulation 2018-06-28 14:20:11 +02:00
BKE_scene.h Depsgraph: add helper to ensure a given scene/view_layer graph is up-to-date. 2018-08-03 10:13:33 +02:00
BKE_screen.h Fix a few unintended changes with new default startup.blend. 2018-08-21 18:39:44 +02:00
BKE_sequencer.h Merge branch 'master' into blender2.8 2018-07-23 17:52:52 +02:00
BKE_shader_fx.h Cleanup: warnings, trailing space 2018-08-02 08:26:57 +10:00
BKE_shrinkwrap.h Subsurf: Move away from using scene from modifier data 2018-06-22 15:12:03 +02:00
BKE_smoke.h Merge branch 'master' into blender2.8 2018-05-08 15:20:18 +02:00
BKE_softbody.h SoftBody: refactored sbFree() 2018-07-04 11:22:57 +02:00
BKE_sound.h
BKE_speaker.h
BKE_studiolight.h Cleanup: use static variables 2018-07-31 20:45:43 +10:00
BKE_subdiv.h Multires: Fix wrong apply deform results when multires has sculpt already 2018-08-24 17:00:32 +02:00
BKE_subsurf.h Subsurf: Move away from using scene from modifier data 2018-06-22 15:12:03 +02:00
BKE_suggestions.h
BKE_text.h Cleanup: remove undoing access, minor formatting 2018-04-15 10:48:50 +02:00
BKE_texture.h Merge branch 'master' into blender2.8 2018-06-29 09:25:40 +02:00
BKE_tracking.h Use correct time for curve parent evaluation 2018-05-29 17:05:32 +02:00
BKE_undo_system.h Fix undo of transform after frame change undoing too much. 2018-06-13 18:39:30 +02:00
BKE_unit.h
BKE_workspace.h Workspaces: store view layer per main window, instead of per workspace. 2018-07-04 18:40:33 +02:00
BKE_world.h DrawData: Change drawdata to a generic struct shared accross ID types 2018-07-10 15:31:34 +02:00
BKE_writeavi.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
BKE_writeffmpeg.h Cleanup: trailing newlines 2018-06-29 09:23:51 +02:00
CMakeLists.txt Multires: implement reshape operation 2018-08-22 10:21:45 +02:00
nla_private.h Merge branch 'master' into blender2.8 2018-06-17 17:10:19 +02:00
particle_private.h Simple hair children: Initial implementation of twist control 2018-02-15 11:53:58 +01:00
tracking_private.h