diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-05 09:22:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-05 09:23:35 +0400 |
commit | b82d639f3dea92fa9be7e38c5e76617dc07251a9 (patch) | |
tree | 1bfa101f105ccc679ffb52fa34de1f333e4dda3e /source/blender/editors/physics/rigidbody_object.c | |
parent | cf069afdfd11d8200a57cf8a4307d0e664ac4ecc (diff) |
Stop all dynamic enums using translations (from blend file data)
Diffstat (limited to 'source/blender/editors/physics/rigidbody_object.c')
-rw-r--r-- | source/blender/editors/physics/rigidbody_object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c index e4426fdbbf2..7ba37bbb76b 100644 --- a/source/blender/editors/physics/rigidbody_object.c +++ b/source/blender/editors/physics/rigidbody_object.c @@ -642,6 +642,7 @@ void RIGIDBODY_OT_mass_calculate(wmOperatorType *ot) "Material Preset", "Type of material that objects are made of (determines material density)"); RNA_def_enum_funcs(prop, rigidbody_materials_itemf); + RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE); RNA_def_float(ot->srna, "density", 1.0, FLT_MIN, FLT_MAX, "Density", |