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/makesrna/intern/rna_fracture_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_fracture_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_fracture_api.c b/source/blender/makesrna/intern/rna_fracture_api.c
index 55681c3bfba..d3ba998f608 100644
--- a/source/blender/makesrna/intern/rna_fracture_api.c
+++ b/source/blender/makesrna/intern/rna_fracture_api.c
@@ -686,11 +686,11 @@ static void rna_MeshCon_use_limit_lin_x(PointerRNA *ptr, int value)
}
-static void rna_MeshCon_limit_lin_x_lower(PointerRNA *ptr, int value)
+static void rna_MeshCon_limit_lin_x_lower(PointerRNA *ptr, float value)
{
RigidBodyShardCon *rbc = (RigidBodyShardCon *)ptr->data;
- RB_FLAG_SET(rbc->flag, value, RBC_FLAG_USE_LIMIT_LIN_X);
+ rbc->limit_lin_x_lower = value;
#ifdef WITH_BULLET
if (rbc->physics_constraint) {