Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-02-22 15:05:38 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-02-22 15:05:38 +0300
commit62b3522da209edbad89276bb5a223bf30a398fcd (patch)
tree5b09f0c01bdb5c3225e7f86914e3b3798d692318 /source/blender/modifiers/intern/MOD_cloth.c
parentdf045206021bdd448482f9d022f73029d28f7fc3 (diff)
Fix compilation error with legacy depsgraph disabled
Diffstat (limited to 'source/blender/modifiers/intern/MOD_cloth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_cloth.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c
index 5f806ba4e4c..2b181c0fb18 100644
--- a/source/blender/modifiers/intern/MOD_cloth.c
+++ b/source/blender/modifiers/intern/MOD_cloth.c
@@ -127,10 +127,7 @@ static void updateDepgraph(ModifierData *md, const ModifierUpdateDepsgraphContex
dag_add_collision_relations(ctx->forest, ctx->scene, ctx->object, ctx->obNode, clmd->coll_parms->group, ctx->object->lay|ctx->scene->lay, eModifierType_Collision, NULL, true, "Cloth Collision");
dag_add_forcefield_relations(ctx->forest, ctx->scene, ctx->object, ctx->obNode, clmd->sim_parms->effector_weights, true, 0, "Cloth Field");
#else
- (void)forest;
- (void)scene;
- (void)ob;
- (void)obNode;
+ (void)ctx;
#endif
}
}