Python: Enable MASS unit in FloatProperty
[blender.git] / source / blender / makesrna / intern / rna_rna.c
index 7eb48272c56b1e9953ba19b0fa1eab585a954655..b8a9e9f92cdce401567b39c691fd3e1a752ab2c1 100644 (file)
@@ -121,6 +121,7 @@ const EnumPropertyItem rna_enum_property_unit_items[] = {
        {PROP_UNIT_TIME, "TIME", 0, "Time", ""},
        {PROP_UNIT_VELOCITY, "VELOCITY", 0, "Velocity", ""},
        {PROP_UNIT_ACCELERATION, "ACCELERATION", 0, "Acceleration", ""},
+       {PROP_UNIT_MASS, "MASS", 0, "Mass", ""},
        {PROP_UNIT_CAMERA, "CAMERA", 0, "Camera", ""},
        {0, NULL, 0, NULL, NULL}
 };