From 68b49aa981e146d7a7afde3e83305445bcc5ca3e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 23 Nov 2010 17:14:03 +0000 Subject: use unit system for the grid floor (was only ortho before). --- source/blender/blenkernel/intern/unit.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/blenkernel/intern/unit.c') diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c index 54ecef75108..69a43ac60f0 100644 --- a/source/blender/blenkernel/intern/unit.c +++ b/source/blender/blenkernel/intern/unit.c @@ -755,6 +755,11 @@ void bUnit_GetSystem(void **usys_pt, int *len, int system, int type) *len= usys->length; } +int bUnit_GetBaseUnit(void *usys_pt) +{ + return ((bUnitCollection *)usys_pt)->base_unit; +} + const char *bUnit_GetName(void *usys_pt, int index) { return ((bUnitCollection *)usys_pt)->units[index].name; -- cgit v1.2.3