Blender Git Commit Log
Git Commits -> Revision b156674
Revision b156674 by Bastien Montagne (master) July 21, 2016, 14:54 (GMT) |
Fix missing datablocks types in id_make_local. Adding make_local for vfont/gpencil/group/freestyle linestyle/mask/scene/sound/text. Note that there are still some lose ends here, since some type are not handled by id_copy (Scene, Sound and VFont), which means in case a datablock of that type is used both directly and indirectly, localization will fail. Scene copying might be doable though (maybe with a simple new 'full shalow' mode to existing BKE_scene_copy?), not sure about sounds and vfonts... Situations where this becomes an issue should be very rare corner cases anyway. |
Commit Details:
Full Hash: b1566742516a66d2b68ebb4bacb6802582c09489
Parent Commit: 5dc7dc7
Lines Changed: +77, -7
17 Modified Paths:
/source/blender/blenkernel/BKE_font.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_mask.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_sound.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_text.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/font.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/group.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+21, -7) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/mask.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/sound.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+5, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_mask.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_sound.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_text.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/font.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/group.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+21, -7) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/mask.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/sound.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+5, -0) (Diff)