tornavis/source/blender/blenkernel
Alexander Gavrilov 34ed58dcaf Fix T68971: Copy As New Driver from Material node creates a bad reference.
NodeTree structures of materials and some other data blocks are
effectively node group datablock objects that are contained inside
the parent block. Thus, direct references to them are only valid
while blender is running, and are lost on save.

Fix Copy As New Driver to create a reference that goes through
the owner datablock, by adding a new ID flag to mark private
pseudo-datablocks.

Also fix functions that return full paths to structures and
properties, e.g. used in python tooltips. Functions for paths
from ID to struct or property can't be changed because of
Animation Data related code.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D5559
2019-08-28 21:52:54 +03:00
..
intern Fix T68971: Copy As New Driver from Material node creates a bad reference. 2019-08-28 21:52:54 +03:00
BKE_DerivedMesh.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_action.h Fix T58447: Unselected bone used for constraint target 2019-07-18 19:12:09 +10:00
BKE_addon.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_anim.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_animsys.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_appdir.h Cleanup: rename BLI_appdir_fonts_* -> font 2019-05-19 14:50:02 +10:00
BKE_armature.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_autoexec.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_blender.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_blender_copybuffer.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_blender_undo.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_blender_user_menu.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_blender_version.h Fix T68971: Copy As New Driver from Material node creates a bad reference. 2019-08-28 21:52:54 +03:00
BKE_blendfile.h Preferences: don't store preferences in the startup 2019-07-31 21:36:12 +10:00
BKE_boids.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_bpath.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_brush.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_bvhutils.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_cachefile.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_camera.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_ccg.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_cdderivedmesh.h Cleanup: remove unused derived-mesh API calls 2019-08-21 11:41:40 +10:00
BKE_cloth.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_collection.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_collision.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_colorband.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_colortools.h Cleanup: use BKE_ prefix for BKE_colortools.h 2019-08-07 03:38:01 +10:00
BKE_constraint.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_context.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_crazyspace.h Fix T63384: Vertices are moving in different directions 2019-06-05 15:17:53 +02:00
BKE_curve.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_customdata.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_customdata_file.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_data_transfer.h ClangFormat: format '#if 0' code in source/ 2019-04-17 08:24:14 +02:00
BKE_deform.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_displist.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_dynamicpaint.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_editlattice.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_editmesh.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_editmesh_bvh.h Cleanup: un-wrap lines in headers, use doxy comments 2019-06-26 12:44:22 +10:00
BKE_editmesh_cache.h doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
BKE_editmesh_tangent.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_effect.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_fcurve.h Fix T64681: evaluate curves with generative modifiers and no keys. 2019-05-16 09:48:46 +03:00
BKE_fluidsim.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_font.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_freestyle.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_global.h Docs: remove debug value, matching source 2019-07-16 13:26:37 +10:00
BKE_gpencil.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_gpencil_modifier.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_icons.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_idcode.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_idprop.h Cleanup: rename IDP_FreeProperty_ex to IDP_FreePropertyContent_ex 2019-05-16 14:17:50 +02:00
BKE_image.h Fix T66141: missing viewport texture update after find missing files 2019-06-26 19:36:17 +02:00
BKE_image_save.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_ipo.h doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
BKE_key.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_keyconfig.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_lattice.h Transform: option to transform origins in object mode 2019-08-24 07:34:43 +10:00
BKE_layer.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_library.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_library_idmap.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_library_override.h Cleanup: Rename: Static Override -> Library Override. 2019-06-14 23:21:12 +02:00
BKE_library_query.h Cleanup: move comments onto own lines to avoid breaking lines 2019-07-02 22:17:22 +10:00
BKE_library_remap.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_light.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_lightprobe.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_linestyle.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_main.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_mask.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_material.h Fix T67999: calling Mesh.materials.clear() crashes Blender 2019-08-16 14:36:57 +02:00
BKE_mball.h Cleanup: const args, naming, doxy groups, clang-format 2019-08-23 09:09:38 +10:00
BKE_mball_tessellate.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_mesh.h Fix multires modifier using too much memory outside of sculpt mode 2019-08-27 18:22:29 +02:00
BKE_mesh_iterators.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_mesh_mapping.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_mesh_remap.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_mesh_remesh_voxel.h Cleanup: use BKE_mesh_ prefix for the remesh API 2019-08-15 04:46:51 +10:00
BKE_mesh_runtime.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_mesh_tangent.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_modifier.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_movieclip.h Fix T66872: Changing clip color space does not update background images 2019-07-28 13:24:18 +02:00
BKE_multires.h Fix T57652: Multires undo broken with shared object data 2019-07-09 12:12:54 +02:00
BKE_nla.h Sound: Fix queries of sound info 2019-06-11 15:11:07 +02:00
BKE_node.h Fix T68971: Copy As New Driver from Material node creates a bad reference. 2019-08-28 21:52:54 +03:00
BKE_object.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_object_deform.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_object_facemap.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_ocean.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_outliner_treehash.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_packedFile.h Cleanup: split enum types, use PF_CMP prefix 2019-07-08 00:43:44 +10:00
BKE_paint.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_particle.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_pbvh.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_pointcache.h Cleanup: comments (long lines) in blenkernel 2019-04-27 12:07:07 +10:00
BKE_report.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_rigidbody.h Fix T66944: Rigid Body Constraint in duplicated collection is not added to RigidBodyConstraints collection. 2019-07-16 16:08:32 +02:00
BKE_scene.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_screen.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_sequencer.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_shader_fx.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_shrinkwrap.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_smoke.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_softbody.h ClangFormat: run with ReflowComments on source/ 2019-05-01 11:13:14 +10:00
BKE_sound.h Cleanup: sort structs 2019-06-14 10:12:10 +10:00
BKE_speaker.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_studiolight.h Workbench: Specular Highlighting for MatCaps 2019-08-27 08:56:56 +02:00
BKE_subdiv.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_subdiv_ccg.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_subdiv_eval.h Cleanup: comment, RNA spelling 2019-06-17 12:52:20 +10:00
BKE_subdiv_foreach.h Cleanup: comment, RNA spelling 2019-06-17 12:52:20 +10:00
BKE_subdiv_mesh.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_subsurf.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_suggestions.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_text.h Cleanup: move utf8 offset conversion into BLI_string_utf8 2019-08-06 21:59:13 +10:00
BKE_texture.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_tracking.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_undo_system.h Cleanup: remove unused ID-map undo API 2019-07-28 17:53:41 +10:00
BKE_unit.h ClangFormat: run with ReflowComments on source/ 2019-05-01 11:13:14 +10:00
BKE_workspace.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
BKE_world.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BKE_writeavi.h Cleanup: move trailing comments to avoid wrapping code 2019-08-14 23:32:24 +10:00
BKE_writeffmpeg.h FFmpeg: Added writing of WebM containers 2019-07-31 11:28:38 +02:00
CMakeLists.txt Cleanup: use BKE_mesh_ prefix for the remesh API 2019-08-15 04:46:51 +10:00
nla_private.h Cleanup: redundant struct declarations 2019-08-25 16:45:47 +10:00
particle_private.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
tracking_private.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00