9#define DNA_DEPRECATED_ALLOW
22#define DNA_GENFILE_VERSIONING_MACROS
52#undef DNA_GENFILE_VERSIONING_MACROS
84#include <fmt/format.h>
89#define U (*((const UserDef *)&U))
116 if (strip->
data->proxy ==
nullptr) {
119 short size_flags = strip->
data->proxy->build_size_flags;
121 (size_flags & psize) != 0;
128 const int image_size,
129 const int scene_size)
131 if (scene->
adt ==
nullptr || scene->
adt->
action ==
nullptr) {
140 if ((strip->flag & use_transform_flag) != 0 && (strip->flag & use_crop_flag) == 0) {
144 for (
int i = 0; i < fcu->
totvert; i++, bezt++) {
146 bezt->
vec[0][1] = (image_size - scene_size) / 2 + bezt->
vec[0][1];
147 bezt->
vec[1][1] = (image_size - scene_size) / 2 + bezt->
vec[1][1];
148 bezt->
vec[2][1] = (image_size - scene_size) / 2 + bezt->
vec[2][1];
163 if (strip->
data->transform ==
nullptr) {
164 strip->
data->transform = MEM_new<StripTransform>(__func__);
166 if (strip->
data->crop ==
nullptr) {
167 strip->
data->crop = MEM_new<StripCrop>(__func__);
172 int old_image_center_x = scene->
r.
xsch / 2;
173 int old_image_center_y = scene->
r.
ysch / 2;
174 int image_size_x = scene->
r.
xsch;
175 int image_size_y = scene->
r.
ysch;
182 if (s_elem !=
nullptr) {
199 if ((strip->flag & use_crop_flag) == 0) {
203 if ((strip->flag & use_transform_flag) == 0) {
208 float image_aspect =
float(image_size_x) /
float(image_size_y);
209 if (project_aspect > image_aspect) {
210 t->
scale_x = project_aspect / image_aspect;
213 t->
scale_y = image_aspect / project_aspect;
217 if ((strip->flag & use_crop_flag) != 0 && (strip->flag & use_transform_flag) == 0) {
219 float s_x = scene->
r.
xsch / image_size_x;
220 float s_y = scene->
r.
ysch / image_size_y;
221 old_image_center_x += c->
right * s_x - c->
left * s_x;
222 old_image_center_y += c->
top * s_y - c->
bottom * s_y;
225 int cropped_image_size_x = image_size_x - c->
right - c->
left;
226 int cropped_image_size_y = image_size_y - c->
top - c->
bottom;
232 if ((strip->flag & use_transform_flag) != 0) {
234 old_image_center_x = image_size_x / 2 - c->
left + t->
xofs;
235 old_image_center_y = image_size_y / 2 - c->
bottom + t->
yofs;
239 float(image_size_y) /
float(scene->
r.
ysch));
242 if ((strip->flag & use_crop_flag) != 0) {
250 t->
xofs = old_image_center_x - scene->
r.
xsch / 2;
251 t->
yofs = old_image_center_y - scene->
r.
ysch / 2;
253 char name_esc[(
sizeof(strip->name) - 2) * 2], *path;
256 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].transform.offset_x", name_esc);
259 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].transform.offset_y", name_esc);
263 strip->flag &= ~use_transform_flag;
264 strip->flag &= ~use_crop_flag;
268 const ListBaseT<Strip> *lb,
272 for (
Strip &strip : *lb) {
284 const float scale_to_fit_factor)
286 if (scene->
adt ==
nullptr || scene->
adt->
action ==
nullptr) {
293 for (
int i = 0; i < fcu->
totvert; i++, bezt++) {
295 bezt->
vec[0][1] *= scale_to_fit_factor;
296 bezt->
vec[1][1] *= scale_to_fit_factor;
297 bezt->
vec[2][1] *= scale_to_fit_factor;
307 if (s_elem ==
nullptr) {
322 const float scale_to_fit_factor = std::min(
float(scene->
r.
xsch) /
float(image_size_x),
323 float(scene->
r.
ysch) /
float(image_size_y));
324 t->
scale_x *= scale_to_fit_factor;
325 t->
scale_y *= scale_to_fit_factor;
326 c->
top /= scale_to_fit_factor;
327 c->
bottom /= scale_to_fit_factor;
328 c->
left /= scale_to_fit_factor;
329 c->
right /= scale_to_fit_factor;
331 char name_esc[(
sizeof(strip->name) - 2) * 2], *path;
333 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].transform.scale_x", name_esc);
336 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].transform.scale_y", name_esc);
339 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].crop.min_x", name_esc);
342 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].crop.max_x", name_esc);
345 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].crop.min_y", name_esc);
348 path =
BLI_sprintfN(
"sequence_editor.sequences_all[\"%s\"].crop.max_x", name_esc);
354 const ListBaseT<Strip> *lb,
358 for (
Strip &strip : *lb) {
376 for (
MetaStack &ms :
ed->metastack.items_reversed()) {
378 if (ms.disp_range[0] == ms.disp_range[1]) {
379 ms.disp_range[0] = ms.parent_strip->left_handle();
380 ms.disp_range[1] = ms.parent_strip->right_handle(scene);
384 ms.parent_strip->left_handle_set(scene, ms.disp_range[0]);
385 ms.parent_strip->right_handle_set(scene, ms.disp_range[1]);
388 ListBaseT<Strip> *old_seqbasep = ms.old_strip ? &ms.old_strip->seqbase : &
ed->seqbase;
389 for (
Strip &strip : *old_seqbasep) {
391 strip.start = strip.startdisp =
max_ii(strip.input1->startdisp, strip.input2->startdisp);
392 strip.enddisp =
min_ii(strip.input1->enddisp, strip.input2->enddisp);
403 const char *old_name,
404 const char *new_name)
408 if (link.tonode->type_legacy == node_type) {
412 if (
STREQ(link.tosock->name, old_name)) {
420 if (
node.type_legacy == node_type) {
575 if (scene !=
nullptr) {
597 "WARNING: Cycle detected in collection '%s', fixed as best as possible.\n"
598 "You may have to reconstruct your View Layers...\n",
639 if (scene.
ed !=
nullptr) {
663 if (scene.
ed !=
nullptr) {
686 if (text.id.us == 0) {
721 for (
int i = 0; i < pdata->
totlayer; i++) {
723 if (
layer->type == CD_LOCATION) {
727 else if (
layer->type == CD_RADIUS) {
737 for (
int i = 0; i < pdata->
totlayer; i++) {
755 for (
BezTriple *bezt = fcu->
bezt; i < fcu->totvert; i++, bezt++) {
762 const float v1[2] = {bezt->vec[1][0], bezt->vec[1][1]};
763 const float v2[2] = {bezt->vec[2][0], bezt->vec[2][1]};
764 const float v3[2] = {nextbezt->
vec[0][0], nextbezt->
vec[0][1]};
765 const float v4[2] = {nextbezt->
vec[1][0], nextbezt->
vec[1][1]};
768 if (v1[0] ==
v2[0] && v3[0] == v4[0]) {
773 float delta1[2], delta2[2];
777 const float len1 =
fabsf(delta1[0]);
778 const float len2 =
fabsf(delta2[0]);
782 const float time_delta = v4[0] - v1[0];
783 const float total_len = len1 + len2;
784 if (total_len <= time_delta) {
788 const float factor = time_delta / total_len;
802 link.tosock = link.tonode->inputs.first();
809 socket->
limit = 4095;
823 const MPoly *polys =
static_cast<const MPoly *
>(
826 if (polys[i].totloop == 2) {
827 std::string message = fmt::format(
828 fmt::runtime(
RPT_(
"Mesh %s has invalid faces, likely caused by the manifold extrude "
829 "tool in version 2.90.0. Opening and saving the file in a version "
830 "prior to 5.1 should resolve the issue\n")),
843 for (
int i = 0; i <
ARRAY_SIZE(id_codes); i++) {
849 if (!DNA_struct_member_exists(fd->
filesdna,
"SpaceImage",
"float",
"uv_opacity")) {
863 if (!DNA_struct_member_exists(fd->
filesdna,
"BrushGpencilSettings",
"float",
"random_hue")) {
865 if ((
brush.gpencil_settings) && (
brush.gpencil_settings->curve_rand_pressure ==
nullptr)) {
867 1, 0.0f, 0.0f, 1.0f, 1.0f);
869 1, 0.0f, 0.0f, 1.0f, 1.0f);
873 1, 0.0f, 0.0f, 1.0f, 1.0f);
875 1, 0.0f, 0.0f, 1.0f, 1.0f);
894 if (!DNA_struct_member_exists(fd->
filesdna,
"NodeTexSky",
"float",
"sun_size")) {
923 bool use_optix =
false;
924 bool use_denoising =
false;
928 use_denoising = use_denoising ||
930 use_optix = use_optix ||
937 use_denoising = use_denoising ||
939 use_optix = use_optix ||
965 if (!use_denoising) {
984 if (!DNA_struct_member_exists(fd->
filesdna,
"ModifierData",
"short",
"ui_expand_flag")) {
987 if (md.mode & eModifierMode_Expanded_DEPRECATED) {
991 md.ui_expand_flag = 0;
998 if (!DNA_struct_member_exists(fd->
filesdna,
"SceneEEVEE",
"float",
"motion_blur_depth_scale"))
1006 if (!DNA_struct_member_exists(fd->
filesdna,
"SceneEEVEE",
"int",
"motion_blur_steps")) {
1013 if (!DNA_struct_member_exists(fd->
filesdna,
"bConstraint",
"short",
"ui_expand_flag")) {
1016 if (con.flag & CONSTRAINT_EXPAND_DEPRECATED) {
1020 con.ui_expand_flag = 0;
1027 if (!DNA_struct_member_exists(fd->
filesdna,
"GpencilModifierData",
"short",
"ui_expand_flag"))
1031 if (md.mode & eGpencilModifierMode_Expanded_DEPRECATED) {
1035 md.ui_expand_flag = 0;
1042 if (!DNA_struct_member_exists(fd->
filesdna,
"ShaderFxData",
"short",
"ui_expand_flag")) {
1045 if (fx.mode & eShaderFxMode_Expanded_DEPRECATED) {
1049 fx.ui_expand_flag = 0;
1056 if (!DNA_struct_member_exists(fd->
filesdna,
"BevelModifierData",
"short",
"profile_type")) {
1061 bool use_custom_profile = bmd->
flags & MOD_BEVEL_CUSTOM_PROFILE_DEPRECATED;
1084 if (!DNA_struct_member_exists(fd->
filesdna,
"NodeTexSky",
"float",
"sun_intensity")) {
1100 if (!DNA_struct_member_exists(fd->
filesdna,
"BevelModifierData",
"char",
"affect_type")) {
1105 const bool use_vertex_bevel = bmd->
flags & MOD_BEVEL_VERT_DEPRECATED;
1114 if (!DNA_struct_member_exists(
1115 fd->
filesdna,
"MeshSeqCacheModifierData",
"float",
"velocity_scale"))
1127 if (!DNA_struct_member_exists(fd->
filesdna,
"CacheFile",
"char",
"velocity_unit")) {
1134 if (!DNA_struct_member_exists(fd->
filesdna,
"OceanModifierData",
"int",
"viewport_resolution"))
1162 if (rbw ==
nullptr) {
1229 if (!DNA_struct_member_exists(fd->
filesdna,
"Curve",
"char",
"bevel_mode")) {
1231 if (curve.
bevobj !=
nullptr) {
1245 if (fmd->
domain !=
nullptr) {
1252 const float grid_lines[4] = {1.0, 0.0, 0.0, 1.0};
1262 if (!DNA_struct_member_exists(fd->
filesdna,
"View3DOverlay",
"float",
"fade_alpha")) {
1277 if (!DNA_struct_member_exists(fd->
filesdna,
"Mesh",
"char",
"symmetry")) {
1306 if (!DNA_struct_member_exists(fd->
filesdna,
"WorkSpaceDataRelation",
"int",
"parentid")) {
1311 if (relation.parent !=
nullptr) {
1315 if (win !=
nullptr) {
1316 relation.parentid = win->
winid;
1320 if (relation.parentid == 0) {
1323 "Found a valid parent for workspace data relation, but no valid parent id.");
1326 if (relation.parentid == 0) {
1334 if (!DNA_struct_exists(fd->
filesdna,
"SpaceImageOverlay")) {
1371 if (!DNA_struct_member_exists(
1372 fd->
filesdna,
"FluidModifierData",
"float",
"fractions_distance"))
1389 const int LEGACY_REFINE_RADIAL_DISTORTION_K1 = (1 << 2);
1418 if (!DNA_struct_member_exists(fd->
filesdna,
"View3DOverlay",
"float",
"wireframe_opacity")) {
1465 if (!DNA_struct_member_exists(fd->
filesdna,
"ViewLayer",
"short",
"cryptomatte_levels")) {
1503 const char *volume_scatter =
"VolumeScatterCol";
1514 if (!DNA_struct_exists(fd->
filesdna,
"CryptomatteEntry")) {
1521 char *matte_id =
storage->matte_id;
1522 if ((matte_id ==
nullptr) || (
storage->matte_id[0] ==
'\0')) {
1552 if (
STREQ(
node.idname,
"GeometryNodeRandomAttribute")) {
1579 if (!DNA_struct_member_exists(fd->
filesdna,
"FluidModifierData",
"float",
"viscosity_value")) {
1584 if (fmd->
domain !=
nullptr) {
1594 if (!DNA_struct_exists(fd->
filesdna,
"NodeSetAlpha")) {
1613 if (
ed ==
nullptr) {
1649 if (!DNA_struct_member_exists(fd->
filesdna,
"bGPdata",
"int",
"curve_edit_resolution")) {
1656 if (!DNA_struct_member_exists(fd->
filesdna,
"bGPdata",
"float",
"curve_edit_threshold")) {
1684 if (!DNA_struct_member_exists(fd->
filesdna,
"bGPDlayer",
"float",
"location[0]")) {
1697 if ((
brush.gpencil_settings) && (
brush.gpencil_settings->fill_factor == 0.0f)) {
1698 brush.gpencil_settings->fill_factor = 1.0f;
1744 if (!DNA_struct_member_exists(fd->
filesdna,
"SceneEEVEE",
"float",
"bokeh_overblur")) {
1752 if (!DNA_struct_member_exists(fd->
filesdna,
"FModifier",
"short",
"ui_expand_flag")) {
1777 if (
STREQ(
node.idname,
"GeometryNodeSubdivisionSurfaceSimple")) {
1780 if (
STREQ(
node.idname,
"GeometryNodeSubdivisionSurface")) {
1820 if (new_footer !=
nullptr) {
1834 if (
STREQ(
node.idname,
"GeometryNodeSubdivideSmooth")) {
1843 if (!DNA_struct_member_exists(fd->
filesdna,
"Light",
"float",
"diff_fac")) {
1845 light.diff_fac = 1.0f;
1846 light.volume_fac = 1.0f;
1855 if (
STREQ(
node.idname,
"GeometryNodeMeshPlane")) {
1873#define CU_2D (1 << 3)
1877 for (
Nurb &nu : *nurbs) {
1878 if (nu.flag &
CU_2D) {
1893 if (!DNA_struct_member_exists(fd->
filesdna,
"bArmature",
"float",
"axes_position")) {
1901 if (!DNA_struct_member_exists(fd->
filesdna,
"Light",
"float",
"area_spread")) {
CustomData interface, see also DNA_customdata_types.h.
#define MAIN_VERSION_FILE_ATLEAST(main, ver, subver)
#define MAIN_VERSION_FILE_OLDER(main, ver, subver)
#define FOREACH_NODETREE_END
#define FOREACH_NODETREE_BEGIN(bmain, _nodetree, _id)
#define GEO_NODE_OBJECT_INFO
#define SH_NODE_BSDF_PRINCIPLED
#define GEO_NODE_MESH_BOOLEAN
#define CMP_NODE_CRYPTOMATTE_LEGACY
#define GEO_NODE_MESH_PRIMITIVE_GRID
#define CMP_NODE_OUTPUT_FILE
#define CMP_NODE_SETALPHA
#define CMP_NODE_R_LAYERS
#define GEO_NODE_JOIN_GEOMETRY
#define STRNCPY_UTF8(dst, src)
external readfile function prototypes.
Object groups, one object can be in many groups at once.
blenloader genfile private function prototypes
#define GP_DEFAULT_CURVE_EDIT_CORNER_ANGLE
#define GP_DEFAULT_CURVE_RESOLUTION
#define GP_DEFAULT_CURVE_ERROR
Object is a sort of wrapper for general info.
Types and defines for representing Rigid Body entities.
#define RE_PASSNAME_VOLUME_LIGHT
Read Blender memory allocation and freeing.
#define STREQLEN(a, b, n)
#define SET_FLAG_FROM_TEST(value, test, flag)
#define BLI_assert_msg(a, msg)
btSequentialImpulseConstraintSolverMt int btPersistentManifold int btTypedConstraint ** constraints
constexpr IndexRange()=default
const T & data(const Action &owning_action) const
#define storage(slot, qualifiers)
void node_remove_socket(bNodeTree &ntree, bNode &node, bNodeSocket &sock)
bNodeLink & node_add_link(bNodeTree &ntree, bNode &fromnode, bNodeSocket &fromsock, bNode &tonode, bNodeSocket &tosock)
bNodeSocket * node_find_socket(bNode &node, eNodeSocketInOut in_out, UString identifier)
SequencerToolSettings * tool_settings_init()
IMB_Proxy_Size rendersize_to_proxysize(eSpaceSeq_Proxy_RenderSize render_size)
Editing * editing_get(const Scene *scene)
MetaStack * meta_stack_active_get(const Editing *ed)
float rendersize_to_scale_factor(eSpaceSeq_Proxy_RenderSize render_size)
bool version_node_ensure_storage_or_invalidate(bNode &node)
static eSpaceSeq_Proxy_RenderSize get_sequencer_render_size(Main *bmain)
@ V3D_OVERLAY_FADE_INACTIVE
CurveMapping * BKE_curvemapping_add(int tot, float minx, float miny, float maxx, float maxy)
void * BLI_findptr(const ListBase *listbase, const void *ptr, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
eSpaceSeq_Proxy_RenderSize
@ SEQ_RENDER_SIZE_PROXY_75
@ SEQ_RENDER_SIZE_PROXY_50
@ SEQ_RENDER_SIZE_PROXY_100
@ SEQ_RENDER_SIZE_PROXY_25
@ SEQ_RENDER_SIZE_FULL_DEPRECATED
@ SO_FILTER_OB_STATE_INVERSE
@ UI_PANEL_DATA_EXPAND_ROOT
@ eGpencilModifierType_Array
@ eGpencilModifierType_Hook
@ eGpencilModifierType_Lattice
@ eGpencilModifierType_Smooth
@ eGpencilModifierType_Noise
@ eGpencilModifierType_Opacity
@ eGpencilModifierType_Offset
@ eGpencilModifierType_Color
@ eGpencilModifierType_Mirror
@ eGpencilModifierType_Texture
@ eGpencilModifierType_Multiply
@ eGpencilModifierType_Simplify
@ eGpencilModifierType_Thick
@ eGpencilModifierType_Subdiv
char * STRNCPY(char(&dst)[N], const char *src)
static void version_node_join_geometry_for_multi_input_socket(bNodeTree *ntree)
@ SEQ_TIMELINE_SHOW_STRIP_DURATION
@ SEQ_TIMELINE_SHOW_STRIP_NAME
@ SEQ_TIMELINE_SHOW_STRIP_SOURCE
@ eBooleanModifierFlag_Object
void multires_do_versions_simple_to_catmull_clark(Object *object, MultiresModifierData *mmd)
void BKE_pose_rebuild(Main *bmain, Object *ob, bArmature *arm, bool do_id_user)
void BLI_addhead(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
static void strip_convert_transform_crop_lb(const Scene *scene, const ListBaseT< Strip > *lb, const eSpaceSeq_Proxy_RenderSize render_size)
ListBaseT< Nurb > * BKE_curve_nurbs_get(Curve *cu)
static void strip_convert_transform_crop_2(const Scene *scene, Strip *strip, const eSpaceSeq_Proxy_RenderSize render_size)
void * blo_read_get_new_globaldata_address(FileData *fd, const void *adr)
static void strip_convert_transform_animation(const Strip *strip, const Scene *scene, const char *path, const int image_size, const int scene_size)
bool invert_m4_m4(float inverse[4][4], const float mat[4][4])
@ eModifierType_WeightVGEdit
@ eModifierType_MeshSequenceCache
@ eModifierType_WeightVGProximity
static void strip_convert_transform_crop_lb_2(const Scene *scene, const ListBaseT< Strip > *lb, const eSpaceSeq_Proxy_RenderSize render_size)
static void panels_remove_x_closed_flag_recursive(Panel *panel)
void version_cycles_property_boolean_set(IDProperty *idprop, const char *name, bool value)
char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
void * BLI_findstring(const ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE void sub_v2_v2v2(float r[2], const float a[2], const float b[2])
MINLINE int max_ii(int a, int b)
static void do_versions_291_fcurve_handles_limit(FCurve *fcu)
@ SI_OVERLAY_SHOW_OVERLAYS
void BKE_main_id_repair_duplicate_names_listbase(Main *bmain, ListBaseT< ID > *lb)
static void version_node_socket_duplicate(bNodeTree *ntree, const int node_type, const char *old_name, const char *new_name)
void id_fake_user_set(ID *id)
IDProperty * version_cycles_properties_from_render_layer(SceneRenderLayer *render_layer)
@ GP_DATA_CURVE_ADAPTIVE_RESOLUTION
void MEM_delete_void(void *vmemh)
bool BKE_collection_cycles_fix(Main *bmain, Collection *collection)
int version_cycles_property_int(IDProperty *idprop, const char *name, int default_value)
static bool can_use_proxy(const Strip *strip, IMB_Proxy_Size psize)
@ CMP_NODE_SETALPHA_MODE_REPLACE_ALPHA
void BKE_curvemapping_init(CurveMapping *cumap)
void * MEM_dupalloc_void(const void *vmemh) ATTR_WARN_UNUSED_RESULT
static void strip_convert_transform_animation_2(const Scene *scene, const char *path, const float scale_to_fit_factor)
void loc_eul_size_to_mat4(float R[4][4], const float loc[3], const float eul[3], const float size[3])
@ IDP_FLAG_OVERRIDABLE_LIBRARY
void BLI_remlink(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
BMesh const char void * data
char char size_t BLI_str_escape(char *__restrict dst, StringRef src, size_t dst_maxncpy) ATTR_NONNULL(1)
void version_cycles_property_int_set(IDProperty *idprop, const char *name, int value)
void BLI_freelinkN(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
constexpr size_t ARRAY_SIZE(const T(&arg)[N]) noexcept
@ CACHEFILE_VELOCITY_UNIT_SECOND
void blo_do_versions_290(FileData *fd, Library *lib, Main *bmain)
const void * CustomData_get_layer(const CustomData *data, eCustomDataType type)
@ MOD_WVG_EDIT_WEIGHTS_NORMALIZE
@ MOD_MESHSEQ_INTERPOLATE_VERTICES
MINLINE void zero_v3(float r[3])
@ REFINE_RADIAL_DISTORTION
@ GEO_NODE_TRANSFORM_SPACE_RELATIVE
bool version_cycles_property_boolean(IDProperty *idprop, const char *name, bool default_value)
@ MOD_BEVEL_PROFILE_CUSTOM
@ MOD_BEVEL_PROFILE_SUPERELLIPSE
void BKE_fcurve_free(FCurve *fcu)
ATTR_WARN_UNUSED_RESULT const BMVert * v2
MINLINE void copy_v3_fl(float r[3], float f)
@ EEVEE_RENDER_PASS_UNUSED_8
IDProperty * version_cycles_properties_from_ID(ID *id)
@ VIEW_LAYER_CRYPTOMATTE_ACCURATE
@ SEQ_CACHE_STORE_FINAL_OUT
MINLINE void copy_v4_v4(float r[4], const float a[4])
ARegion * do_versions_add_region_if_not_found(ListBaseT< ARegion > *regionbase, int region_type, const char *, int link_after_region_type)
bool BKE_fcurve_is_empty(const FCurve *fcu)
static void strip_convert_transform_crop(const Scene *scene, Strip *strip, const eSpaceSeq_Proxy_RenderSize render_size)
static void do_versions_point_attributes(CustomData *pdata)
FCurve * BKE_fcurve_find(ListBaseT< FCurve > *list, const char rna_path[], int array_index)
static void seq_update_meta_disp_range(Scene *scene)
void version_node_socket_index_animdata(Main *bmain, const int node_tree_type, const int node_type, const int socket_index_orig, const int socket_index_offset, const int total_number_of_sockets)
IDProperty * version_cycles_properties_from_view_layer(ViewLayer *view_layer)
void do_versions_after_linking_290(FileData *fd, Main *bmain)
MINLINE int min_ii(int a, int b)
@ eBooleanModifierSolver_Float
@ MOD_BEVEL_AFFECT_VERTICES
void BLO_read_invalidate_message(BlendHandle *bh, Main *bmain, const char *message)
@ FLUID_DOMAIN_TYPE_LIQUID
static void do_versions_point_attribute_names(CustomData *pdata)
void version_node_socket_name(bNodeTree *ntree, const int node_type, const char *old_name, const char *new_name)
MINLINE void madd_v2_v2v2fl(float r[2], const float a[2], const float b[2], float f)
ListBaseT< ID > * which_libbase(Main *bmain, short type)
void BKE_cryptomatte_matte_id_to_entries(struct NodeCryptomatte *node_storage, const char *matte_id)
struct bGPDframe * BKE_annotations_frame_duplicate(const struct bGPDframe *gpf_src, bool dup_strokes)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
ListBaseT< Panel > panels
eRegion_Alignment alignment
struct Material * material
DNA_DEPRECATED char materialname[64]
BevelModifierAffectType affect_type
BevelModifierProfileType profile_type
BooleanModifierSolver solver
float wet_paint_radius_factor
eCacheFile_VelocityUnit velocity_unit
CollectionColorTag color_tag
struct Material * material
DNA_DEPRECATED char materialname[64]
eCurveBevelMode bevel_mode
ListBaseT< Strip > seqbase
ListBaseT< FModifier > modifiers
std::unique_ptr< SDNA > filesdna
float gridlines_upper_bound
float gridlines_range_color[4]
eFluidDomain_CobaField coba_field
char vector_scale_with_magnitude
struct FluidDomainSettings * domain
struct Material * material
DNA_DEPRECATED char materialname[64]
ListBaseT< struct IDProperty > group
struct Material * material
DNA_DEPRECATED char materialname[64]
ListBaseT< wmWindowManager > wm
ListBaseT< Collection > collections
ListBaseT< bArmature > armatures
ListBaseT< bGPdata > gpencils
ListBaseT< bNodeTree > nodetrees
ListBaseT< Light > lights
ListBaseT< PointCloud > pointclouds
ListBaseT< MovieClip > movieclips
ListBaseT< Brush > brushes
ListBaseT< Material > materials
ListBaseT< Object > objects
ListBaseT< CacheFile > cachefiles
ListBaseT< Curve > curves
ListBaseT< WorkSpace > workspaces
ListBaseT< ParticleSettings > particles
ListBaseT< bAction > actions
ListBaseT< Scene > scenes
ListBaseT< bScreen > screens
struct Material * material
DNA_DEPRECATED char materialname[64]
struct MovieTracking tracking
TrackingRefineCameraFlag refine_camera_intrinsics
MovieTrackingSettings settings
DNA_DEPRECATED char materialname[64]
struct Material * material
DNA_DEPRECATED char simple
DNA_DEPRECATED char save_as_render
struct NodesModifierSettings settings_legacy
struct IDProperty * properties
struct Material * material
DNA_DEPRECATED char materialname[64]
ListBaseT< ModifierData > modifiers
ListBaseT< GpencilModifierData > greasepencil_modifiers
float sharpen_peak_jonswap
DNA_DEPRECATED char materialname[64]
struct Material * material
DNA_DEPRECATED char materialname[64]
struct Material * material
ListBaseT< Panel > children
eParticlePhysicsType phystype
struct CustomData pdata_legacy
ListBaseT< SceneRenderLayer > layers
int volumetric_shadow_samples
float motion_blur_depth_scale
ListBaseT< ViewLayer > view_layers
struct Collection * master_collection
DNA_DEPRECATED struct bNodeTree * nodetree
struct ToolSettings * toolsettings
struct RigidBodyWorld * rigidbody_world
ListBaseT< ARegion > regionbase
ListBaseT< SpaceLink > spacedata
eSpaceSeq_SequencerTimelineOverlay_Flag flag
DNA_DEPRECATED char materialname[64]
struct Material * material
struct Material * material
DNA_DEPRECATED char materialname[64]
eSpaceImageOverlay_Flag flag
SpaceImageOverlay overlay
ListBaseT< ARegion > regionbase
ListBaseT< bNodeTreePath > treepath
eSpaceOutliner_Filter filter
eSpaceOutliner_StateFilter filter_state
eSpaceOutliner_ShowRestrictFlag show_restrict_flags
eSpaceButtons_OutlinerSync outliner_sync
eSpaceSeq_Proxy_RenderSize render_size
struct SequencerTimelineOverlay timeline_overlay
eSpaceSeq_RegionType mainb
struct Material * material
DNA_DEPRECATED char materialname[64]
DNA_DEPRECATED char materialname[64]
struct Material * material
DNA_DEPRECATED char materialname[64]
struct Material * material
eViewLayerEEVEEPassType render_passes
struct ViewLayerEEVEE eevee
eViewLayerCryptomatteFlags cryptomatte_flag
struct CurveMapping * cmap_curve
ListBaseT< struct WorkSpaceDataRelation > hook_layout_relations
ListBaseT< FCurve > curves
ListBaseT< bGPDframe > frames
int curve_edit_resolution
float curve_edit_corner_angle
ListBaseT< bGPDlayer > layers
float curve_edit_threshold
struct bNodeSocket * next
ListBaseT< bNodeLink > links
ListBaseT< struct ScrArea > areabase