From a48186c5d74b3d353c5c65cd4a930dd98cc9a603 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 May 2018 14:18:09 +0200 Subject: Orientation for 3D cursor Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208 --- source/blender/makesdna/DNA_scene_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesdna/DNA_scene_types.h') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 2f3d5a82730..e12a6d253a8 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -50,6 +50,7 @@ extern "C" { #include "DNA_layer_types.h" #include "DNA_material_types.h" #include "DNA_userdef_types.h" +#include "DNA_view3d_types.h" struct CurveMapping; struct Object; @@ -1368,8 +1369,7 @@ typedef struct Scene { struct Base *basact DNA_DEPRECATED; /* active base */ void *_pad1; - float cursor[3]; /* 3d cursor location */ - char _pad[4]; + View3DCursor cursor; /* 3d cursor location */ unsigned int lay; /* bitflags for layer visibility */ int layact; /* active layer */ -- cgit v1.2.3