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:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_softbody.c')
-rw-r--r--source/blender/modifiers/intern/MOD_softbody.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/modifiers/intern/MOD_softbody.c b/source/blender/modifiers/intern/MOD_softbody.c
index d8379cc870a..ddbc30b1e5d 100644
--- a/source/blender/modifiers/intern/MOD_softbody.c
+++ b/source/blender/modifiers/intern/MOD_softbody.c
@@ -54,17 +54,17 @@ static bool dependsOnTime(struct Scene *UNUSED(scene), ModifierData *UNUSED(md))
static void updateDepsgraph(ModifierData *UNUSED(md), const ModifierUpdateDepsgraphContext *ctx)
{
- if (ctx->object->soft) {
- /* Actual code uses ccd_build_deflector_hash */
- DEG_add_collision_relations(ctx->node,
- ctx->object,
- ctx->object->soft->collision_group,
- eModifierType_Collision,
- NULL,
- "Softbody Collision");
- DEG_add_forcefield_relations(
- ctx->node, ctx->object, ctx->object->soft->effector_weights, true, 0, "Softbody Field");
- }
+ // if (ctx->object->soft) {
+ // /* Actual code uses ccd_build_deflector_hash */
+ // DEG_add_collision_relations(ctx->node,
+ // ctx->object,
+ // ctx->object->soft->collision_group,
+ // eModifierType_Collision,
+ // NULL,
+ // "Softbody Collision");
+ // DEG_add_forcefield_relations(
+ // ctx->node, ctx->object, ctx->object->soft->effector_weights, true, 0, "Softbody Field");
+ // }
/* We need own transformation as well. */
DEG_add_modifier_to_transform_relation(ctx->node, "SoftBody Modifier");
}