diff options
Diffstat (limited to 'source/blender/blenkernel/intern/library_query.c')
-rw-r--r-- | source/blender/blenkernel/intern/library_query.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index bed2244702f..953db6f3cb0 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -38,6 +38,7 @@ #include "DNA_camera_types.h" #include "DNA_constraint_types.h" #include "DNA_controller_types.h" +#include "DNA_groom_types.h" #include "DNA_group_types.h" #include "DNA_gpencil_types.h" #include "DNA_key_types.h" @@ -659,6 +660,13 @@ void BKE_library_foreach_ID_link(Main *bmain, ID *id, LibraryIDLinkCallback call break; } + case ID_GM: + { + Groom *groom = (Groom *) id; + CALLBACK_INVOKE(groom->scalp_object, IDWALK_CB_NOP); + break; + } + case ID_MA: { Material *material = (Material *) id; @@ -1133,6 +1141,8 @@ bool BKE_library_id_can_use_idtype(ID *id_owner, const short id_type_used) return (ELEM(id_type_used, ID_TE, ID_OB)); case ID_LP: return ELEM(id_type_used, ID_IM); + case ID_GM: + return true; case ID_WS: case ID_IM: case ID_VF: |