Cleanup: Remove unused function
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 29 Nov 2017 14:59:51 +0000 (15:59 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 29 Nov 2017 14:59:51 +0000 (15:59 +0100)
source/blender/blenkernel/BKE_group.h
source/blender/blenkernel/intern/group.c

index 404d1704c785d9a9c94c68eda21467503a725931..e07dd259970bf0da05687adb9e586fbc423998b8 100644 (file)
@@ -52,7 +52,6 @@ bool          BKE_group_object_exists(struct Group *group, struct Object *ob);
 bool          BKE_group_object_cyclic_check(struct Main *bmain, struct Object *object, struct Group *group);
 bool          BKE_group_is_animated(struct Group *group, struct Object *parent);
 
-void          BKE_group_tag_recalc(struct Group *group);
 void          BKE_group_handle_recalc_and_update(struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *parent, struct Group *group);
 
 #endif  /* __BKE_GROUP_H__ */
index fd6e9681e64995f48b9a23b512bcc70415f3354b..6dc8cc5aff1c30ddfaa8049e276232ff3c6576bf 100644 (file)
@@ -268,18 +268,6 @@ Group *BKE_group_object_find(Group *group, Object *ob)
        return NULL;
 }
 
-void BKE_group_tag_recalc(Group *group)
-{
-       GroupObject *go;
-       
-       if (group == NULL) return;
-       
-       for (go = group->gobject.first; go; go = go->next) {
-               if (go->ob) 
-                       go->ob->recalc = go->recalc;
-       }
-}
-
 bool BKE_group_is_animated(Group *group, Object *UNUSED(parent))
 {
        GroupObject *go;