Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-18 08:34:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-18 08:36:02 +0300
commit0b5043845113a6af14744677427f63e78e997598 (patch)
tree780d9c405cef728bb20ffaca2e4976da05a00344 /source/blender/makesdna/DNA_object_types.h
parente7414723063f50fac2e20b79a76f01ea38019fde (diff)
Cleanup: move 'orig' into Object_Runtime struct
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 2c0095d640d..180df08e1d9 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -128,6 +128,15 @@ typedef struct Object_Runtime {
*/
uint64_t last_data_mask;
+ /** Did last modifier stack generation need mapping support? */
+ char last_need_mapping;
+
+ char _pad0[3];
+
+ /** Only used for drawing the parent/child help-line. */
+ float parent_origin_eval[3];
+
+
/** Axis aligned boundbox (in localspace). */
struct BoundBox *bb;
@@ -156,9 +165,6 @@ typedef struct Object_Runtime {
struct ObjectBBoneDeform *cached_bbone_deformation;
- /** Did last modifier stack generation need mapping support? */
- char last_need_mapping;
- char pad[7];
} Object_Runtime;
typedef struct Object {
@@ -226,8 +232,8 @@ typedef struct Object {
int actcol;
/* rot en drot have to be together! (transform('r' en 's')) */
- float loc[3], dloc[3], orig[3];
- /** Scale in fact. */
+ float loc[3], dloc[3];
+ /** Scale (can be negative). */
float scale[3];
/** DEPRECATED, 2.60 and older only. */
float dsize[3] DNA_DEPRECATED ;
@@ -276,7 +282,6 @@ typedef struct Object {
short trackflag, upflag;
/** Used for DopeSheet filtering settings (expanded/collapsed). */
short nlaflag;
- short pad[2];
char pad12;
char duplicator_visibility_flag;