Blender  V2.93
dna_rename_defs.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17  * All rights reserved.
18  * DNA handling
19  */
20 
51 /* No include guard (intentional). */
52 
53 /* Match RNA names where possible, keep sorted. */
54 
59 DNA_STRUCT_RENAME_ELEM(BPoint, alfa, tilt)
61 DNA_STRUCT_RENAME_ELEM(Bone, curveInX, curve_in_x)
62 DNA_STRUCT_RENAME_ELEM(Bone, curveInY, curve_in_y)
63 DNA_STRUCT_RENAME_ELEM(Bone, curveOutX, curve_out_x)
64 DNA_STRUCT_RENAME_ELEM(Bone, curveOutY, curve_out_y)
65 DNA_STRUCT_RENAME_ELEM(Bone, scaleIn, scale_in_x)
66 DNA_STRUCT_RENAME_ELEM(Bone, scaleOut, scale_out_x)
67 DNA_STRUCT_RENAME_ELEM(BrushGpencilSettings, gradient_f, hardeness)
68 DNA_STRUCT_RENAME_ELEM(BrushGpencilSettings, gradient_s, aspect_ratio)
69 DNA_STRUCT_RENAME_ELEM(Camera, YF_dofdist, dof_distance)
70 DNA_STRUCT_RENAME_ELEM(Curve, len_wchar, len_char32)
71 DNA_STRUCT_RENAME_ELEM(Camera, clipend, clip_end)
72 DNA_STRUCT_RENAME_ELEM(Camera, clipsta, clip_start)
73 DNA_STRUCT_RENAME_ELEM(Collection, dupli_ofs, instance_offset)
74 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, cache_frame_pause_guiding, cache_frame_pause_guide)
75 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, guiding_alpha, guide_alpha)
76 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, guiding_beta, guide_beta)
77 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, guiding_parent, guide_parent)
78 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, guiding_source, guide_source)
79 DNA_STRUCT_RENAME_ELEM(FluidDomainSettings, guiding_vel_factor, guide_vel_factor)
80 DNA_STRUCT_RENAME_ELEM(FluidEffectorSettings, guiding_mode, guide_mode)
81 DNA_STRUCT_RENAME_ELEM(Image, name, filepath)
82 DNA_STRUCT_RENAME_ELEM(Library, name, filepath)
83 DNA_STRUCT_RENAME_ELEM(MovieClip, name, filepath)
85 DNA_STRUCT_RENAME_ELEM(Object, dup_group, instance_collection)
86 DNA_STRUCT_RENAME_ELEM(Object, dupfacesca, instance_faces_scale)
88 DNA_STRUCT_RENAME_ELEM(ParticleSettings, dup_group, instance_collection)
89 DNA_STRUCT_RENAME_ELEM(ParticleSettings, dup_ob, instance_object)
90 DNA_STRUCT_RENAME_ELEM(ParticleSettings, dupliweights, instance_weights)
91 DNA_STRUCT_RENAME_ELEM(Text, name, filepath)
92 DNA_STRUCT_RENAME_ELEM(ThemeSpace, scrubbing_background, time_scrub_background)
93 DNA_STRUCT_RENAME_ELEM(ThemeSpace, show_back_grad, background_type)
94 DNA_STRUCT_RENAME_ELEM(UserDef, gp_manhattendist, gp_manhattandist)
95 DNA_STRUCT_RENAME_ELEM(VFont, name, filepath)
96 DNA_STRUCT_RENAME_ELEM(View3D, far, clip_end)
97 DNA_STRUCT_RENAME_ELEM(View3D, near, clip_start)
98 DNA_STRUCT_RENAME_ELEM(View3D, ob_centre, ob_center)
99 DNA_STRUCT_RENAME_ELEM(View3D, ob_centre_bone, ob_center_bone)
100 DNA_STRUCT_RENAME_ELEM(View3D, ob_centre_cursor, ob_center_cursor)
101 DNA_STRUCT_RENAME_ELEM(bGPDstroke, gradient_f, hardeness)
102 DNA_STRUCT_RENAME_ELEM(bGPDstroke, gradient_s, aspect_ratio)
103 DNA_STRUCT_RENAME_ELEM(bPoseChannel, curveInX, curve_in_x)
104 DNA_STRUCT_RENAME_ELEM(bPoseChannel, curveInY, curve_in_y)
105 DNA_STRUCT_RENAME_ELEM(bPoseChannel, curveOutX, curve_out_x)
106 DNA_STRUCT_RENAME_ELEM(bPoseChannel, curveOutY, curve_out_y)
107 DNA_STRUCT_RENAME_ELEM(bPoseChannel, scaleIn, scale_in_x)
108 DNA_STRUCT_RENAME_ELEM(bPoseChannel, scaleOut, scale_out_x)
110 DNA_STRUCT_RENAME_ELEM(bSound, name, filepath)
111 DNA_STRUCT_RENAME_ELEM(bTheme, tact, space_action)
112 DNA_STRUCT_RENAME_ELEM(bTheme, tbuts, space_properties)
113 DNA_STRUCT_RENAME_ELEM(bTheme, tclip, space_clip)
114 DNA_STRUCT_RENAME_ELEM(bTheme, tconsole, space_console)
115 DNA_STRUCT_RENAME_ELEM(bTheme, text, space_text)
116 DNA_STRUCT_RENAME_ELEM(bTheme, tfile, space_file)
117 DNA_STRUCT_RENAME_ELEM(bTheme, tima, space_image)
118 DNA_STRUCT_RENAME_ELEM(bTheme, tinfo, space_info)
119 DNA_STRUCT_RENAME_ELEM(bTheme, tipo, space_graph)
120 DNA_STRUCT_RENAME_ELEM(bTheme, tnla, space_nla)
121 DNA_STRUCT_RENAME_ELEM(bTheme, tnode, space_node)
122 DNA_STRUCT_RENAME_ELEM(bTheme, toops, space_outliner)
123 DNA_STRUCT_RENAME_ELEM(bTheme, tseq, space_sequencer)
124 DNA_STRUCT_RENAME_ELEM(bTheme, tstatusbar, space_statusbar)
125 DNA_STRUCT_RENAME_ELEM(bTheme, ttopbar, space_topbar)
126 DNA_STRUCT_RENAME_ELEM(bTheme, tuserpref, space_preferences)
127 DNA_STRUCT_RENAME_ELEM(bTheme, tv3d, space_view3d)
128 DNA_STRUCT_RENAME_ELEM(RigidBodyWorld, steps_per_second, substeps_per_frame)
129 /* Write with a different name, old Blender versions crash loading files with non-NULL
130  * global_areas. See D9442. */
131 DNA_STRUCT_RENAME_ELEM(wmWindow, global_area_map, global_areas)
132 DNA_STRUCT_RENAME_ELEM(LineartGpencilModifierData, line_types, edge_types)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
#define DNA_STRUCT_RENAME_ELEM(struct_name, old, new)
#define DNA_STRUCT_RENAME(old, new)
uint col