Blender Git Commit Log
Git Commits -> Revision 842f52d
Revision 842f52d by Hans Goudey (master) September 9, 2020, 13:41 (GMT) |
Cleanup: Rename public "bUnit" functions This commit renames the functions in "BKE_unit.h` to be consistent with the naming in the rest of blenkernel. bUnit_AsString -> BKE_unit_value_as_string_adaptive bUnit_AsString2 -> BKE_unit_value_as_string bUnit_ReplaceString -> BKE_unit_replace_string bUnit_ApplyPreferredUnit -> BKE_unit_apply_preferred_unit bUnit_ToUnitAltName -> BKE_unit_name_to_alt bUnit_ClosestScalar -> BKE_unit_closest_scalar bUnit_BaseScalar -> BKE_unit_base_scalar bUnit_IsValid -> BKE_unit_is_valid bUnit_GetSystem -> BKE_unit_system_get bUnit_GetBaseUnit -> BKE_unit_base_get bUnit_GetBaseUnitOfType -> BKE_unit_base_of_type_get bUnit_GetName -> BKE_unit_name_get bUnit_GetNameDisplay -> BKE_unit_display_name_get bUnit_GetIdentifier -> BKE_unit_identifier_get bUnit_GetScaler -> BKE_unit_scalar_get bUnit_IsSuppressed -> BKE_unit_is_suppressed Differential Revision: https://developer.blender.org/D8828 |
Commit Details:
Full Hash: 842f52d418aaccae45c8e400eb0a8bddef0dbb51
Parent Commit: 6dc7266
Lines Changed: +160, -157
15 Modified Paths:
/source/blender/blenkernel/BKE_unit.h (+23, -23) (Diff)
/source/blender/blenkernel/intern/scene.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/unit.c (+25, -25) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_text.c (+15, -14) (Diff)
/source/blender/editors/interface/interface.c (+11, -10) (Diff)
/source/blender/editors/interface/interface_eyedropper_depth.c (+7, -7) (Diff)
/source/blender/editors/interface/interface_handlers.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_bevel.c (+7, -7) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+14, -14) (Diff)
/source/blender/editors/util/numinput.c (+20, -20) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+6, -6) (Diff)
/source/blender/python/intern/bpy_utils_units.c (+5, -4) (Diff)
/source/blender/blenkernel/intern/scene.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/unit.c (+25, -25) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_text.c (+15, -14) (Diff)
/source/blender/editors/interface/interface.c (+11, -10) (Diff)
/source/blender/editors/interface/interface_eyedropper_depth.c (+7, -7) (Diff)
/source/blender/editors/interface/interface_handlers.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_bevel.c (+7, -7) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+14, -14) (Diff)
/source/blender/editors/util/numinput.c (+20, -20) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+6, -6) (Diff)
/source/blender/python/intern/bpy_utils_units.c (+5, -4) (Diff)