Blender Git Loki
Git Commits -> Revision 2d21eb7
Revision 2d21eb7 by Jacques Lucke (master) October 3, 2018, 08:20 (GMT) |
Units: Support for fixed units Users can select the main unit they want to use now. Previously the displayed unit always depended on the magnitude of the value. The old behavior can be restored by switching to the "Adaptive" mode for length, mass and time units. Meters, kilograms and seconds are the default units for new and old scenes. The selected unit is also the default unit for user input. E.g. if cm is selected, whenever the user inputs a unitless number into a field of type length, it will be interpreted as cm. Reviewer: brecht Differential: https://developer.blender.org/D3740 |
Commit Details:
Full Hash: 2d21eb79ad48485bc7b3385d6df5c2c25fd88ee0
Parent Commit: 1c3411a
Lines Changed: +370, -201
7 Deleted Paths:
/release/scripts/presets/units_length/centimeters.py (+0, -5)
/release/scripts/presets/units_length/feet.py (+0, -5)
/release/scripts/presets/units_length/inches.py (+0, -5)
/release/scripts/presets/units_length/kilometers.py (+0, -5)
/release/scripts/presets/units_length/meters.py (+0, -5)
/release/scripts/presets/units_length/miles.py (+0, -5)
/release/scripts/presets/units_length/millimeters.py (+0, -5)
/release/scripts/presets/units_length/feet.py (+0, -5)
/release/scripts/presets/units_length/inches.py (+0, -5)
/release/scripts/presets/units_length/kilometers.py (+0, -5)
/release/scripts/presets/units_length/meters.py (+0, -5)
/release/scripts/presets/units_length/miles.py (+0, -5)
/release/scripts/presets/units_length/millimeters.py (+0, -5)
16 Modified Paths:
/release/scripts/startup/bl_operators/presets.py (+0, -19) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+10, -18) (Diff)
/source/blender/blenkernel/BKE_unit.h (+12, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/unit.c (+176, -48) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+12, -0) (Diff)
/source/blender/draw/modes/edit_mesh_mode_text.c (+5, -6) (Diff)
/source/blender/editors/include/ED_numinput.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+6, -20) (Diff)
/source/blender/editors/interface/interface_eyedropper_depth.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+6, -8) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+6, -7) (Diff)
/source/blender/editors/transform/transform.c (+6, -6) (Diff)
/source/blender/editors/util/numinput.c (+30, -24) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+86, -3) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+10, -18) (Diff)
/source/blender/blenkernel/BKE_unit.h (+12, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/unit.c (+176, -48) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+12, -0) (Diff)
/source/blender/draw/modes/edit_mesh_mode_text.c (+5, -6) (Diff)
/source/blender/editors/include/ED_numinput.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+6, -20) (Diff)
/source/blender/editors/interface/interface_eyedropper_depth.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+6, -8) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+6, -7) (Diff)
/source/blender/editors/transform/transform.c (+6, -6) (Diff)
/source/blender/editors/util/numinput.c (+30, -24) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+86, -3) (Diff)