[Bf-blender-cvs] [819bc74] fracture_modifier: fix, small typo in appliedImpulse soft limit (read only)

Martin Felke noreply at git.blender.org
Fri Jan 29 11:12:28 CET 2016


Commit: 819bc74e225ee8d1c4cfadb07515600eb453093b
Author: Martin Felke
Date:   Fri Jan 29 11:11:37 2016 +0100
Branches: fracture_modifier
https://developer.blender.org/rB819bc74e225ee8d1c4cfadb07515600eb453093b

fix, small typo in appliedImpulse soft limit (read only)

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

M	source/blender/makesrna/intern/rna_rigidbody.c

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

diff --git a/source/blender/makesrna/intern/rna_rigidbody.c b/source/blender/makesrna/intern/rna_rigidbody.c
index 9e5e1c1..690c002 100644
--- a/source/blender/makesrna/intern/rna_rigidbody.c
+++ b/source/blender/makesrna/intern/rna_rigidbody.c
@@ -1509,7 +1509,7 @@ static void rna_def_rigidbody_constraint(BlenderRNA *brna)
 
 	//do as function, dont need an dna value for storage, instead query from bullet directly
 	func = RNA_def_function(srna, "appliedImpulse", "rna_RigidBodyCon_get_applied_impulse");
-	parm = RNA_def_float(func, "impulse", 0, -FLT_MAX, FLT_MAX, "Applied Impulse", "The currently applied impulse on this constraint", -FLT_MIN, FLT_MAX);
+	parm = RNA_def_float(func, "impulse", 0, -FLT_MAX, FLT_MAX, "Applied Impulse", "The currently applied impulse on this constraint", -FLT_MAX, FLT_MAX);
 	RNA_def_function_return(func, parm);
 }




More information about the Bf-blender-cvs mailing list