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:
authorAarnav Dhanuka <arcticblazer.headshot@gmail.com>2022-09-14 17:17:13 +0300
committerAarnav Dhanuka <arcticblazer.headshot@gmail.com>2022-09-14 17:17:13 +0300
commit2438ada34158a6a92ce43c88394737d07650e6b6 (patch)
tree2cd2553850ae47096feafe169a7c189c003cbd06 /source/blender/editors
parent2b2b3ea16b119cdf37f726d030d82c5c6fa1cec6 (diff)
Implemented XPBD with distance and volume constraints. Self collisions implemented is not working. Point cache and UI have been attatched.soc-2022-soft-bodies
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_modifier.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_modifier.cc b/source/blender/editors/object/object_modifier.cc
index 202c6d96a47..a2d0c07058e 100644
--- a/source/blender/editors/object/object_modifier.cc
+++ b/source/blender/editors/object/object_modifier.cc
@@ -195,7 +195,7 @@ ModifierData *ED_object_modifier_add(
/* special cases */
if (type == eModifierType_Softbody) {
if (!ob->soft) {
- ob->soft = sbNew();
+ ob->soft = init_softbody();
ob->softflag |= OB_SB_GOAL | OB_SB_EDGES;
}
}