[Bf-blender-cvs] [0bbf2f9554d] master: Depsgraph: Add missing forward struct declarations

Sergey Sharybin noreply at git.blender.org
Wed Oct 25 12:13:27 CEST 2017


Commit: 0bbf2f9554d267951c18dd2d0eb86ceb308a9c11
Author: Sergey Sharybin
Date:   Wed Oct 25 12:11:12 2017 +0200
Branches: master
https://developer.blender.org/rB0bbf2f9554d267951c18dd2d0eb86ceb308a9c11

Depsgraph: Add missing forward struct declarations

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

M	source/blender/depsgraph/DEG_depsgraph_build.h

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

diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h
index b65d921cfd1..c915b7ef076 100644
--- a/source/blender/depsgraph/DEG_depsgraph_build.h
+++ b/source/blender/depsgraph/DEG_depsgraph_build.h
@@ -44,6 +44,8 @@ struct Main;
 struct Scene;
 struct Group;
 struct EffectorWeights;
+struct ModifierData;
+struct Object;
 
 #ifdef __cplusplus
 extern "C" {
@@ -162,7 +164,7 @@ typedef bool (*DEG_CollobjFilterFunction)(struct Object *obj, struct ModifierDat
 
 void DEG_add_collision_relations(struct DepsNodeHandle *handle,
                                  struct Scene *scene,
-                                 Object *ob,
+                                 struct Object *ob,
                                  struct Group *group,
                                  int layer,
                                  unsigned int modifier_type,
@@ -171,7 +173,7 @@ void DEG_add_collision_relations(struct DepsNodeHandle *handle,
                                  const char *name);
 void DEG_add_forcefield_relations(struct DepsNodeHandle *handle,
                                   struct Scene *scene,
-                                  Object *ob,
+                                  struct Object *ob,
                                   struct EffectorWeights *eff,
                                   bool add_absorption,
                                   int skip_forcefield,



More information about the Bf-blender-cvs mailing list