Blender Git Loki
Git Commits -> Revision 4dee702
Revision 4dee702 by Diego Gangl (master) May 25, 2018, 20:41 (GMT) |
Add number and memory size formatting throughout the UI This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested. Reviewers: Severin Tags: #user_interface Differential Revision: https://developer.blender.org/D1248 |
Commit Details:
Full Hash: 4dee702332abee23086dc0d26e79f014a27a3bb3
Parent Commit: 9dca74f
Committed By: Julian Eisel
Lines Changed: +125, -15
6 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_modifier.py (+2, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+9, -8) (Diff)
/source/blender/blenlib/BLI_string.h (+1, -0) (Diff)
/source/blender/blenlib/intern/string.c (+35, -0) (Diff)
/source/blender/editors/space_info/info_stats.c (+12, -6) (Diff)
/tests/gtests/blenlib/BLI_string_test.cc (+66, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+9, -8) (Diff)
/source/blender/blenlib/BLI_string.h (+1, -0) (Diff)
/source/blender/blenlib/intern/string.c (+35, -0) (Diff)
/source/blender/editors/space_info/info_stats.c (+12, -6) (Diff)
/tests/gtests/blenlib/BLI_string_test.cc (+66, -0) (Diff)