[Bf-blender-cvs] [1f9387ef917] master: Cleanup: Remove unused function

Sergey Sharybin noreply at git.blender.org
Wed Nov 29 16:00:04 CET 2017


Commit: 1f9387ef917b4e8977a0eef56af272223e50fb63
Author: Sergey Sharybin
Date:   Wed Nov 29 15:59:51 2017 +0100
Branches: master
https://developer.blender.org/rB1f9387ef917b4e8977a0eef56af272223e50fb63

Cleanup: Remove unused function

===================================================================

M	source/blender/blenkernel/BKE_group.h
M	source/blender/blenkernel/intern/group.c

===================================================================

diff --git a/source/blender/blenkernel/BKE_group.h b/source/blender/blenkernel/BKE_group.h
index 404d1704c78..e07dd259970 100644
--- a/source/blender/blenkernel/BKE_group.h
+++ b/source/blender/blenkernel/BKE_group.h
@@ -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__ */
diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c
index fd6e9681e64..6dc8cc5aff1 100644
--- a/source/blender/blenkernel/intern/group.c
+++ b/source/blender/blenkernel/intern/group.c
@@ -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;



More information about the Bf-blender-cvs mailing list