diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-27 22:14:24 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-27 22:14:24 +0400 |
commit | a2e55171fee184c6fb908f2775cf3a09404acc7b (patch) | |
tree | 3768c354399d233389da080abf10b78550924bb5 /source/blender/editors/physics | |
parent | 2545e832e2ada24001f1c8205988b01ab54f205f (diff) |
Bunch of fixes for UI messages.
Also generate rigid body constraint types in py bullet code from RNA enum values (simpler than having to sync the code when something is changed here!).
Side note: RNA API about icons still needs to expose icons for enum values, and conversion funcs between icon_name and icon_value!
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/rigidbody_object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c index fc1e24840a4..38ed903a161 100644 --- a/source/blender/editors/physics/rigidbody_object.c +++ b/source/blender/editors/physics/rigidbody_object.c @@ -615,8 +615,7 @@ void RIGIDBODY_OT_mass_calculate(wmOperatorType *ot) ot->prop = prop = RNA_def_enum(ot->srna, "material", DummyRNA_DEFAULT_items, 0, "Material Preset", - "Type of material that objects are made of. " - "Determines material density"); + "Type of material that objects are made of (determines material density)"); RNA_def_enum_funcs(prop, rigidbody_materials_itemf); RNA_def_float(ot->srna, "density", 1.0, FLT_MIN, FLT_MAX, |