|
Blender V4.3
|
#include <algorithm>#include <cfloat>#include <cstring>#include "BLI_listbase.h"#include "BLI_math_rotation.h"#include "BLI_mempool.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "DNA_defaults.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_camera_types.h"#include "DNA_cloth_types.h"#include "DNA_collection_types.h"#include "DNA_constraint_types.h"#include "DNA_curve_types.h"#include "DNA_curveprofile_types.h"#include "DNA_fluid_types.h"#include "DNA_freestyle_types.h"#include "DNA_genfile.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_gpencil_modifier_types.h"#include "DNA_gpu_types.h"#include "DNA_key_types.h"#include "DNA_layer_types.h"#include "DNA_light_types.h"#include "DNA_lightprobe_types.h"#include "DNA_linestyle_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_modifier_types.h"#include "DNA_object_types.h"#include "DNA_particle_types.h"#include "DNA_rigidbody_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_sequence_types.h"#include "DNA_shader_fx_types.h"#include "DNA_text_types.h"#include "DNA_texture_types.h"#include "DNA_view3d_types.h"#include "DNA_workspace_types.h"#include "DNA_world_types.h"#include "BKE_anim_data.hh"#include "BKE_blender.hh"#include "BKE_collection.hh"#include "BKE_colortools.hh"#include "BKE_constraint.h"#include "BKE_curveprofile.h"#include "BKE_customdata.hh"#include "BKE_fcurve.hh"#include "BKE_fcurve_driver.h"#include "BKE_freestyle.h"#include "BKE_gpencil_geom_legacy.h"#include "BKE_idprop.hh"#include "BKE_key.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_mesh.hh"#include "BKE_mesh_legacy_convert.hh"#include "BKE_node.hh"#include "BKE_paint.hh"#include "BKE_pointcache.h"#include "BKE_report.hh"#include "BKE_rigidbody.h"#include "BKE_screen.hh"#include "BKE_studiolight.h"#include "BKE_unit.hh"#include "BKE_workspace.hh"#include "SEQ_iterator.hh"#include "SEQ_modifier.hh"#include "SEQ_utils.hh"#include "NOD_shader.h"#include "IMB_colormanagement.hh"#include "IMB_imbuf.hh"#include "BLT_translation.hh"#include "BLO_read_write.hh"#include "BLO_readfile.hh"#include "readfile.hh"#include "versioning_common.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Macros | |
| #define | DNA_DEPRECATED_ALLOW |
| #define | DNA_GENFILE_VERSIONING_MACROS |
| #define | U (*((const UserDef *)&U)) |
| #define | CUMA_EXTEND_EXTRAPOLATE_OLD 1 |
| #define | EEVEE_GET_BOOL(_props, _name, _flag) |
| #define | EEVEE_GET_INT(_props, _name) |
| #define | EEVEE_GET_FLOAT(_props, _name) |
| #define | EEVEE_GET_FLOAT_ARRAY(_props, _name, _length) |
| #define | PAINT_BLEND_MIX 0 |
| #define | PAINT_BLEND_ADD 1 |
| #define | PAINT_BLEND_SUB 2 |
| #define | PAINT_BLEND_MUL 3 |
| #define | PAINT_BLEND_BLUR 4 |
| #define | PAINT_BLEND_LIGHTEN 5 |
| #define | PAINT_BLEND_DARKEN 6 |
| #define | PAINT_BLEND_AVERAGE 7 |
| #define | PAINT_BLEND_SMEAR 8 |
| #define | PAINT_BLEND_COLORDODGE 9 |
| #define | PAINT_BLEND_DIFFERENCE 10 |
| #define | PAINT_BLEND_SCREEN 11 |
| #define | PAINT_BLEND_HARDLIGHT 12 |
| #define | PAINT_BLEND_OVERLAY 13 |
| #define | PAINT_BLEND_SOFTLIGHT 14 |
| #define | PAINT_BLEND_EXCLUSION 15 |
| #define | PAINT_BLEND_LUMINOSITY 16 |
| #define | PAINT_BLEND_SATURATION 17 |
| #define | PAINT_BLEND_HUE 18 |
| #define | PAINT_BLEND_ALPHA_SUB 19 |
| #define | PAINT_BLEND_ALPHA_ADD 20 |
Enumerations | |
| enum class | eNTreeDoVersionErrors : int8_t { NTREE_DOVERSION_NO_ERROR = 0 , NTREE_DOVERSION_NEED_OUTPUT = (1 << 0) , NTREE_DOVERSION_TRANSPARENCY_EMISSION = (1 << 1) } |
| #define CUMA_EXTEND_EXTRAPOLATE_OLD 1 |
Referenced by do_version_curvemapping_flag_extend_extrapolate().
| #define DNA_DEPRECATED_ALLOW |
Definition at line 10 of file versioning_280.cc.
| #define DNA_GENFILE_VERSIONING_MACROS |
Definition at line 23 of file versioning_280.cc.
| #define EEVEE_GET_BOOL | ( | _props, | |
| _name, | |||
| _flag ) |
Referenced by blo_do_versions_280().
| #define EEVEE_GET_FLOAT | ( | _props, | |
| _name ) |
Referenced by blo_do_versions_280().
| #define EEVEE_GET_FLOAT_ARRAY | ( | _props, | |
| _name, | |||
| _length ) |
| #define EEVEE_GET_INT | ( | _props, | |
| _name ) |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_ADD 1 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_ALPHA_ADD 20 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_ALPHA_SUB 19 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_AVERAGE 7 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_BLUR 4 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_COLORDODGE 9 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_DARKEN 6 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_DIFFERENCE 10 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_EXCLUSION 15 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_HARDLIGHT 12 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_HUE 18 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_LIGHTEN 5 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_LUMINOSITY 16 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_MIX 0 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_MUL 3 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_OVERLAY 13 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_SATURATION 17 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_SCREEN 11 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_SMEAR 8 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_SOFTLIGHT 14 |
Referenced by blo_do_versions_280().
| #define PAINT_BLEND_SUB 2 |
Referenced by blo_do_versions_280().
|
strong |
| Enumerator | |
|---|---|
| NTREE_DOVERSION_NO_ERROR | |
| NTREE_DOVERSION_NEED_OUTPUT | |
| NTREE_DOVERSION_TRANSPARENCY_EMISSION | |
Definition at line 3020 of file versioning_280.cc.
|
static |
Definition at line 1126 of file versioning_280.cc.
References bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, blender::bke::node_add_link(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNodeTree::nodes, SOCK_IN, SOCK_OUT, bNode::type, version_cycles_node_socket_float_value(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
Always bump subversion in BKE_blender_version.h when adding versioning code here, and wrap it inside a MAIN_VERSION_FILE_ATLEAST check.
Definition at line 3028 of file versioning_280.cc.
References abs(), SpaceAction::action, Main::actions, RemeshModifierData::adaptivity, ARegion::alignment, ARM_BCOLL_SOLO_ACTIVE, ARM_DRAW_RELATION_FROM_HEAD, ARM_FLAG_UNUSED_1, ARM_FLAG_UNUSED_12, ARM_FLAG_UNUSED_7, ARM_FLAG_UNUSED_9, Main::armatures, ARRAY_SET_ITEMS, ARRAY_SIZE, BrushGpencilSettings::aspect_ratio, atanf, B_UNIT_LENGTH, B_UNIT_MASS, B_UNIT_TIME, View3DShading::background_color, ClothSimSettings::bending_model, BKE_animdata_main_cb(), BKE_area_region_free(), BKE_color_managed_display_settings_init(), BKE_color_managed_view_settings_init_render(), BKE_constraint_free_data(), BKE_curvemap_reset(), BKE_curvemapping_add(), BKE_curvemapping_init(), BKE_curveprofile_add(), BKE_gpencil_stroke_geometry_update(), BKE_main_id_repair_duplicate_names_listbase(), BKE_ptcache_add(), BKE_report(), BKE_screen_area_free(), BKE_screen_remove_double_scredges(), BKE_screen_remove_unused_scredges(), BKE_screen_remove_unused_scrverts(), BKE_screen_view3d_shading_init(), BKE_spacedata_find_region_type(), BKE_spacetype_from_id(), BKE_studiolight_find(), BKE_studiolight_find_default(), BKE_unit_base_of_type_get(), BKE_workspace_tool_remove(), blend, BLI_addhead(), BLI_addtail(), BLI_assert, BLI_freelinkN(), BLI_insertlinkafter(), BLI_insertlinkbefore(), BLI_listbase_clear(), BLI_listbase_is_empty(), BLI_remlink(), BLI_str_startswith(), GlowShaderFxData::blur, BRUSH_POSE_IK_ANCHORED, Main::brushes, ParticleEditSettings::brushtype, Main::cameras, View3DShading::cavity_ridge_factor, View3DShading::cavity_valley_factor, CD_PROP_FLOAT2, View3D::clip_end, View3D::clip_start, CurveMapping::clipr, ParticleSystem::clmd, CLOTH_BENDING_LINEAR, CLOTH_COLLSETTINGS_FLAG_ENABLED, CLOTH_SIMSETTINGS_FLAG_GOAL, CLOTH_SIMSETTINGS_FLAG_SCALING, CLOTH_SIMSETTINGS_FLAG_SEW, CurveMapping::cm, ClothModifierData::coll_parms, COLLECTION_HIDE_RENDER, COLLECTION_HIDE_SELECT, COLLECTION_HIDE_VIEWPORT, View3DShading::color_type, ClothSimSettings::compression, ClothSimSettings::compression_damp, CONSTRAINT_SPACE_LOCAL, CONSTRAINT_SPACE_WORLD, CONSTRAINT_SPLINEIK_YS_FIT_CURVE, CONSTRAINT_TYPE_SPLINEIK, CONSTRAINT_TYPE_TRANSFORM_CACHE, copy_v2_fl(), copy_v2_v2(), copy_v3_fl(), copy_v3_v3(), GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::cur_primitive, View3DShading::curvature_ridge_factor, View3DShading::curvature_valley_factor, ColorGpencilModifierData::curve_intensity, NoiseGpencilModifierData::curve_intensity, OpacityGpencilModifierData::curve_intensity, SmoothGpencilModifierData::curve_intensity, TintGpencilModifierData::curve_intensity, CURVE_PRESET_BELL, CURVE_PRESET_GAUSS, CURVEMAP_SLOPE_POSITIVE, ToolSettings::custom_bevel_profile_preset, BevelModifierData::custom_profile, CustomData_free_layers(), CustomData_get_layer(), CustomData_has_layer(), CustomData_update_typemap(), DataTransferModifierData::defgrp_name, FileSelectParams::details_flags, DNA_struct_default_get, do_version_bbone_scale_fcurve_fix(), do_version_bones_inherit_scale(), do_version_bones_split_bbone_scale(), do_version_constraints_copy_rotation_mix_mode(), do_version_constraints_copy_scale_power(), do_version_constraints_maintain_volume_mode_uniform(), do_version_curvemapping_flag_extend_extrapolate(), do_version_curvemapping_walker(), do_versions_add_region(), do_versions_area_ensure_tool_region(), do_versions_find_region(), do_versions_find_region_or_null(), do_versions_local_collection_bits_set(), do_versions_remove_region(), do_versions_remove_regions_by_type(), do_versions_seq_alloc_transform_and_crop(), do_versions_seq_set_cache_defaults(), do_versions_seq_unique_name_all_strips(), FluidModifierData::domain, AnimData::drivers, View3DOverlay::edit_flag, EEVEE_GET_BOOL, EEVEE_GET_FLOAT, EEVEE_GET_INT, eGpencilModifierType_Array, eGpencilModifierType_Color, eGpencilModifierType_Multiply, eGpencilModifierType_Noise, eGpencilModifierType_Opacity, eGpencilModifierType_Smooth, eGpencilModifierType_Subdiv, eGpencilModifierType_Thick, eGpencilModifierType_Tint, ELEM, eModifierType_Bevel, eModifierType_Cloth, eModifierType_CorrectiveSmooth, eModifierType_DataTransfer, eModifierType_Fluid, eModifierType_Multires, eModifierType_Ocean, eModifierType_ParticleSystem, eModifierType_Remesh, eModifierType_Shrinkwrap, eModifierType_Solidify, eModifierType_Subsurf, eModifierType_SurfaceDeform, eModifierType_Triangulate, eModifierType_UVWarp, eMultiresModifierFlag_PlainUv_DEPRECATED, eMultiresModifierFlag_UseCrease, BrushGpencilSettings::era_strength_f, BrushGpencilSettings::era_thickness_f, error(), eShaderFxColorizeMode_GrayScale, eShaderFxColorizeMode_Sepia, eShaderFxType_Colorize, eShaderFxType_Glow, eShaderFxType_Pixel, eShaderFxType_Rim, eShaderFxType_Shadow, eSubsurfModifierFlag_SubsurfUv_DEPRECATED, eSubsurfModifierFlag_UseCrease, ColorizeShaderFxData::factor, NoiseGpencilModifierData::factor, NoiseGpencilModifierData::factor_strength, NoiseGpencilModifierData::factor_thickness, NoiseGpencilModifierData::factor_uvs, MultiplyGpencilModifierData::fading_opacity, OceanModifierData::fetch_jonswap, RenderData::ffcodecdata, FFM_PRESET_BEST, FFM_PRESET_GOOD, FFM_PRESET_REALTIME, FFMpegCodecData::ffmpeg_preset, FILE_DETAILS_DATETIME, FILE_DETAILS_SIZE, FILE_PARAMS_FLAG_UNUSED_1, FILE_PARAMS_FLAG_UNUSED_2, FILE_PARAMS_FLAG_UNUSED_3, FileData::filesdna, MaterialGPencilStyle::fill_rgba, MaterialGPencilStyle::fill_style, SpaceOutliner::filter, SpaceOutliner::filter_id_type, ListBase::first, ARegion::flag, ArrayGpencilModifierData::flag, FileSelectParams::flag, ID::flag, MaterialGPencilStyle::flag, NoiseGpencilModifierData::flag, ParticleEditSettings::flag, SpaceAction::flag, SpaceGraph::flag, SpaceImage::flag, SpaceNla::flag, SpaceNode::flag, SpaceOutliner::flag, SpaceProperties::flag, SpaceSeq::flag, SubdivGpencilModifierData::flag, UnifiedPaintSettings::flag, View3D::flag, View3DOverlay::flag, View3DShading::flag, View3D::flag2, ClothCollSettings::flags, ClothSimSettings::flags, MultiresModifierData::flags, Sculpt::flags, SubsurfModifierData::flags, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, View3D::gizmo_show_armature, View3D::gizmo_show_camera, View3D::gizmo_show_empty, View3D::gizmo_show_light, GlowShaderFxData::glow_color, GP_ARRAY_USE_OB_OFFSET, GP_ARRAY_USE_OFFSET, GP_DATA_ANNOTATIONS, GP_DEFAULT_GRID_LINES, GP_DEFAULT_PIX_FACTOR, View3D::gp_flag, GP_LAYER_USE_LIGHTS, GP_LOCKAXIS_Y, GP_MATERIAL_FILL_SHOW, GP_MATERIAL_FILL_STYLE_CHECKER, GP_MATERIAL_FILL_STYLE_GRADIENT, GP_MATERIAL_FILL_STYLE_SOLID, GP_MATERIAL_FILL_STYLE_TEXTURE, GP_MATERIAL_STROKE_PATTERN, GP_MATERIAL_STROKE_SHOW, GP_MATERIAL_STROKE_TEX_MIX, GP_NOISE_FULL_STROKE, GP_NOISE_MOD_LOCATION, GP_NOISE_MOD_STRENGTH, GP_NOISE_MOD_THICKNESS, GP_NOISE_MOD_UV, GP_PROJECT_CURSOR, GP_PROJECT_VIEWSPACE, GP_SUBDIV_SIMPLE, GPAINT_BRUSH_TYPE_ERASE, View3DOverlay::gpencil_fade_layer, View3DOverlay::gpencil_grid_opacity, View3DOverlay::gpencil_paper_opacity, View3DOverlay::gpencil_vertex_paint_opacity, Main::gpencils, FluidDomainSettings::gravity, View3D::gridflag, BrushGpencilSettings::hardness, ColorizeShaderFxData::high_color, bNodeTree::id, ID_BR, ID_FLAG_EMBEDDED_DATA, ID_GR, IDP_FreeProperty(), IDP_GetPropertyFromGroup(), IMA_ALPHA_IGNORE, IMA_FLAG_UNUSED_1, IMA_FLAG_UNUSED_15, IMA_FLAG_UNUSED_16, IMA_FLAG_UNUSED_4, IMA_FLAG_UNUSED_6, IMA_FLAG_UNUSED_8, IMA_HIGH_BITDEPTH, IMA_TYPE_R_RESULT, Main::images, IMB_BLEND_ADD, IMB_BLEND_ADD_ALPHA, IMB_BLEND_COLORDODGE, IMB_BLEND_DARKEN, IMB_BLEND_DIFFERENCE, IMB_BLEND_ERASE_ALPHA, IMB_BLEND_EXCLUSION, IMB_BLEND_HARDLIGHT, IMB_BLEND_HUE, IMB_BLEND_LIGHTEN, IMB_BLEND_LUMINOSITY, IMB_BLEND_MIX, IMB_BLEND_MUL, IMB_BLEND_OVERLAY, IMB_BLEND_SATURATION, IMB_BLEND_SCREEN, IMB_BLEND_SOFTLIGHT, IMB_BLEND_SUB, ClothSimSettings::internal_compression, ClothSimSettings::internal_spring_max_diversion, ClothSimSettings::internal_tension, is_zero_v3(), GP_Sculpt_Settings::isect_threshold, LA_AREA, LA_LOCAL, LA_SHADOW, LA_SPOT, LA_SUN, LayerCollection::layer_collections, UnitSettings::length_unit, View3DShading::light, Main::lightprobes, Main::lights, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, GP_Sculpt_Settings::lock_axis, ColorManagedViewSettings::look, View3DShading::lookdev_light, ColorizeShaderFxData::low_color, M_PI_4, M_SQRT1_3, MA_BM_SOLID, MA_BS_SOLID, MAIN_VERSION_FILE_ATLEAST, RimShaderFxData::mask_rgb, View3DShading::matcap, Main::materials, ClothSimSettings::max_compression, ClothSimSettings::max_internal_compression, ClothSimSettings::max_internal_tension, ClothSimSettings::max_shear, ClothSimSettings::max_tension, ME_FLAG_UNUSED_0, ME_FLAG_UNUSED_1, ME_FLAG_UNUSED_3, ME_FLAG_UNUSED_4, ME_FLAG_UNUSED_6, ME_FLAG_UNUSED_7, ME_REMESH_REPROJECT_ATTRIBUTES, MEM_callocN, MEM_freeN(), SolidifyModifierData::merge_tolerance, Main::meshes, min_ii(), TriangulateModifierData::min_vertices, DataTransferModifierData::mix_factor, MaterialGPencilStyle::mix_stroke_factor, MOD_SHRINKWRAP_ABOVE_SURFACE, ColorizeShaderFxData::mode, SpaceAction::mode_prev, mul_v3_fl(), RenderSlot::name, StudioLight::name, ARegion::next, bConstraint::next, blender::bke::node_tree_from_id(), NoiseGpencilModifierData::noise_scale, View3DOverlay::normals_length, NTREE_DOVERSION_NEED_OUTPUT, NTREE_DOVERSION_NO_ERROR, NTREE_DOVERSION_TRANSPARENCY_EMISSION, NTREE_SHADER, OB_ADS_UNUSED_1, OB_ADS_UNUSED_2, OB_EMPTY, OB_EMPTY_IMAGE_HIDE_BACK, OB_EMPTY_IMAGE_HIDE_ORTHOGRAPHIC, OB_EMPTY_IMAGE_HIDE_PERSPECTIVE, OB_FLAG_USE_SIMULATION_CACHE, OB_GPENCIL_LEGACY, OB_MATERIAL, OB_MODE_SCULPT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, OB_RENDER, OB_SOLID, OB_TEXTURE, OB_TRANSFLAG_UNUSED_1, OB_TRANSFLAG_UNUSED_12, OB_TRANSFLAG_UNUSED_3, OB_TRANSFLAG_UNUSED_6, OB_TRANSFORM_ADJUST_ROOT_PARENT_FOR_VIEW_LOCK, ArrayGpencilModifierData::object, Main::objects, ArrayGpencilModifierData::offset, SpaceFile::op, SpaceOutliner::outlinevis, View3D::overlay, PAINT_BLEND_ADD, PAINT_BLEND_ALPHA_ADD, PAINT_BLEND_ALPHA_SUB, PAINT_BLEND_AVERAGE, PAINT_BLEND_BLUR, PAINT_BLEND_COLORDODGE, PAINT_BLEND_DARKEN, PAINT_BLEND_DIFFERENCE, PAINT_BLEND_EXCLUSION, PAINT_BLEND_HARDLIGHT, PAINT_BLEND_HUE, PAINT_BLEND_LIGHTEN, PAINT_BLEND_LUMINOSITY, PAINT_BLEND_MIX, PAINT_BLEND_MUL, PAINT_BLEND_OVERLAY, PAINT_BLEND_SATURATION, PAINT_BLEND_SCREEN, PAINT_BLEND_SMEAR, PAINT_BLEND_SOFTLIGHT, PAINT_BLEND_SUB, SpaceFile::params, PAROBJECT, PART_DRAW_BB, PART_DRAW_NOT, PART_SHAPE_CLOSE_TIP, ToolSettings::particle, Main::particles, PE_BRUSH_COMB, RigidBodyWorld_Shared::pointcache, SoftBody_Shared::pointcache, ClothSimSettings::pressure_factor, View3DShading::prev_type, printf, PROF_PRESET_LINE, View3DShading::prop, ParticleSystemModifierData::psys, RigidBodyWorld_Shared::ptcaches, SoftBody_Shared::ptcaches, MultiresModifierData::quality, SubsurfModifierData::quality, R_ADDSKY, R_ALPHAPREMUL, R_MODE_UNUSED_10, R_MODE_UNUSED_13, R_MODE_UNUSED_16, R_MODE_UNUSED_17, R_MODE_UNUSED_18, R_MODE_UNUSED_19, R_MODE_UNUSED_2, R_MODE_UNUSED_20, R_MODE_UNUSED_21, R_MODE_UNUSED_27, R_MODE_UNUSED_3, R_MODE_UNUSED_4, R_MODE_UNUSED_5, R_MODE_UNUSED_6, R_MODE_UNUSED_7, R_MODE_UNUSED_8, R_SCEMODE_UNUSED_11, R_SCEMODE_UNUSED_13, R_SCEMODE_UNUSED_16, R_SCEMODE_UNUSED_17, R_SCEMODE_UNUSED_19, R_SCEMODE_UNUSED_8, R_SEQ_UNUSED_0, R_SEQ_UNUSED_1, R_SEQ_UNUSED_2, R_SIMPLIFY_NORMALS, RBC_TYPE_6DOF_SPRING, RBC_TYPE_MOTOR, RBC_TYPE_SLIDER, RE_engine_id_BLENDER_EEVEE, RE_engine_id_BLENDER_WORKBENCH, RE_engine_id_CYCLES, ARegion::regiontype, View3DShading::render_pass, SubsurfModifierData::renderLevels, BlendFileReadReport::reports, FileData::reports, TintGpencilModifierData::rgb, PixelShaderFxData::rgba, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_FLAG_DYNAMIC_SIZE, RGN_FLAG_HIDDEN, RGN_FLAG_HIDDEN_BY_USER, RGN_SPLIT_PREV, RGN_TYPE_EXECUTE, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_NAV_BAR, RGN_TYPE_PREVIEW, RGN_TYPE_TOOL_HEADER, RGN_TYPE_TOOL_PROPS, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_WINDOW, RimShaderFxData::rim_rgb, ROT_MODE_XYZ, RPT_ERROR, SACTCONT_DOPESHEET, SACTION_SHOW_EXTREMES, SACTION_SHOW_INTERPOLATION, SACTION_SHOW_MARKERS, SB_FLAG_UNUSED_2, SB_FLAG_UNUSED_3, SC_VIEW_GRAPH, CorrectiveSmoothModifierData::scale, UVWarpModifierData::scale, SCE_DISPLAY_AA_FXAA, SCE_DISPLAY_AA_SAMPLES_8, SCE_EEVEE_GTAO_ENABLED, SCE_EEVEE_MOTION_BLUR_ENABLED_DEPRECATED, SCE_EEVEE_SSR_ENABLED, SCE_EEVEE_TAA_REPROJECTION, SCE_PASS_COMBINED, SCE_SNAP_TO_GRID, SCE_SNAP_TO_NODE_X, SCE_SNAP_TRANSFORM_MODE_TRANSLATE, Main::scenes, Main::screens, ToolSettings::sculpt, SCULPT_BRUSH_TYPE_CLAY_STRIPS, SCULPT_BRUSH_TYPE_CLOTH, SCULPT_BRUSH_TYPE_POSE, SCULPT_FLAG_UNUSED_0, SCULPT_FLAG_UNUSED_1, SCULPT_FLAG_UNUSED_2, View3DOverlay::sculpt_mode_face_sets_opacity, View3DOverlay::sculpt_mode_mask_opacity, ArrayGpencilModifierData::seed, GlowShaderFxData::select_color, ClothCollSettings::selfepsilon, SEQ_for_each_callback(), SEQ_SHOW_MARKERS, SEQ_TIMELINE_SHOW_FCURVES, seq_update_flags_cb(), SET_FLAG_FROM_TEST, SH_NODE_BSDF_PRINCIPLED, SH_NODE_EEVEE_SPECULAR, SH_NODE_OUTPUT_MATERIAL, View3D::shading, View3DShading::shadow_intensity, ShadowShaderFxData::shadow_rgba, RigidBodyWorld::shared, SoftBody::shared, SHD_GLOSSY_MULTI_GGX, SHD_SUBSURFACE_BURLEY, ClothSimSettings::shear, ClothSimSettings::shear_damp, ArrayGpencilModifierData::shift, SpaceOutliner::show_restrict_flags, ClothSimSettings::shrink_min, ShrinkwrapModifierData::shrinkMode, ShrinkwrapModifierData::shrinkOpts, SI_FLAG_UNUSED_0, SI_FLAG_UNUSED_1, SI_FLAG_UNUSED_17, SI_FLAG_UNUSED_18, SI_FLAG_UNUSED_23, SI_FLAG_UNUSED_24, SI_FLAG_UNUSED_3, SI_FLAG_UNUSED_6, SI_FLAG_UNUSED_7, SI_FLAG_UNUSED_8, ClothModifierData::sim_parms, View3DShading::single_color, SIPO_SHOW_MARKERS, SNLA_FLAG_UNUSED_0, SNLA_FLAG_UNUSED_1, SNLA_FLAG_UNUSED_3, SNLA_SHOW_MARKERS, SNODE_FLAG_UNUSED_10, SNODE_FLAG_UNUSED_11, SNODE_FLAG_UNUSED_6, SNPRINTF, SO_DATA_API, SO_FILTER_CLEARED_1, SO_FILTER_OB_STATE_SELECTABLE, SO_FILTER_UNUSED_5, SO_ID_ORPHANS, SO_LIBRARIES, SO_RESTRICT_ENABLE, SO_RESTRICT_HIDE, SO_SCENES, SO_SEQUENCE, SO_SYNC_SELECT, SO_TREESTORE_UNUSED_1, SO_VIEW_LAYER, SPACE_ACTION, SPACE_CLIP, SPACE_FILE, SPACE_GRAPH, SPACE_IMAGE, SPACE_INFO, SPACE_NLA, SPACE_NODE, SPACE_OUTLINER, SPACE_PROPERTIES, SPACE_SEQ, SPACE_TEXT, SPACE_USERPREF, SPACE_VIEW3D, srgb_to_linearrgb_v3_v3(), srgb_to_linearrgb_v4(), SpaceOutliner::storeflag, STR_ELEM, SurfaceDeformModifierData::strength, STREQ, STRNCPY, MaterialGPencilStyle::stroke_rgba, View3DShading::studio_light, View3DShading::studiolight_blur, View3DShading::studiolight_intensity, STUDIOLIGHT_TYPE_MATCAP, STUDIOLIGHT_TYPE_WORLD, SUBSURF_UV_SMOOTH_NONE, SUBSURF_UV_SMOOTH_PRESERVE_CORNERS, SpaceOutliner::sync_select_dirty, ClothSimSettings::tension, ClothSimSettings::tension_damp, tex, Main::texts, MaterialGPencilStyle::texture_angle, MaterialGPencilStyle::texture_offset, View3DOverlay::texture_paint_mode_opacity, MaterialGPencilStyle::texture_scale, Main::textures, ThickGpencilModifierData::thickness, ThickGpencilModifierData::thickness_fac, tile, SpaceImage::tile_grid_shape, TXT_FLAG_UNUSED_8, TXT_FLAG_UNUSED_9, bConstraint::type, RigidBodyCon::type, SubdivGpencilModifierData::type, Tex::type, View3DShading::type, UNIFIED_PAINT_FLAG_UNUSED_0, UNIFIED_PAINT_FLAG_UNUSED_1, ToolSettings::unified_paint_settings, update_musgrave_node_color_output(), update_vector_math_node_operators_enum_mapping(), update_voronoi_node_f3_and_f4(), update_voronoi_node_fac_output(), USER_HEADER_BOTTOM, USER_UNIT_ADAPTIVE, USER_UNIT_NONE, MultiresModifierData::uv_smooth, SubsurfModifierData::uv_smooth, V2D_SCROLL_RIGHT, V3D_AROUND_CENTER_MEDIAN, V3D_FLAG2_UNUSED_12, V3D_FLAG2_UNUSED_13, V3D_FLAG2_UNUSED_14, V3D_FLAG2_UNUSED_15, V3D_FLAG2_UNUSED_6, V3D_FLAG_UNUSED_1, V3D_FLAG_UNUSED_10, V3D_FLAG_UNUSED_12, V3D_GIZMO_SHOW_ARMATURE_BBONE, V3D_GIZMO_SHOW_ARMATURE_ROLL, V3D_GIZMO_SHOW_CAMERA_DOF_DIST, V3D_GIZMO_SHOW_CAMERA_LENS, V3D_GIZMO_SHOW_EMPTY_FORCE_FIELD, V3D_GIZMO_SHOW_EMPTY_IMAGE, V3D_GIZMO_SHOW_LIGHT_LOOK_AT, V3D_GIZMO_SHOW_LIGHT_SIZE, V3D_GP_SHOW_EDIT_LINES, V3D_LIGHTING_STUDIO, V3D_LOCAL_COLLECTIONS, V3D_OFSDRAW_SHOW_ANNOTATION, V3D_OFSDRAW_SHOW_GRIDFLOOR, V3D_OVERLAY_EDIT_BWEIGHTS, V3D_OVERLAY_EDIT_CREASES, V3D_OVERLAY_EDIT_FACES, V3D_OVERLAY_EDIT_FREESTYLE_EDGE, V3D_OVERLAY_EDIT_FREESTYLE_FACE, V3D_OVERLAY_EDIT_RETOPOLOGY, V3D_OVERLAY_EDIT_SEAMS, V3D_OVERLAY_EDIT_SHARP, V3D_SHADING_BACKFACE_CULLING, V3D_SHADING_MATERIAL_COLOR, V3D_SHADING_OBJECT_OUTLINE, V3D_SHADING_SCENE_LIGHTS_RENDER, V3D_SHADING_SCENE_WORLD_RENDER, V3D_SHADING_SINGLE_COLOR, V3D_SHADING_SPECULAR_HIGHLIGHT, V3D_SHADING_TEXTURE_COLOR, V3D_SHADING_WORLD_ORIENTATION, V3D_SHADING_XRAY_WIREFRAME, V3D_SHOW_ORTHO_GRID, version_cycles_properties_from_ID(), version_cycles_property_boolean(), version_cycles_property_float(), bGPDspoint::vert_color, View3D::vertex_opacity, View3DOverlay::vertex_paint_mode_opacity, ClothSimSettings::vgroup_bend, ClothSimSettings::vgroup_mass, ClothSimSettings::vgroup_shear, ClothSimSettings::vgroup_shrink, ClothSimSettings::vgroup_struct, ColorManagedViewSettings::view_transform, RemeshModifierData::voxel_size, VPAINT_BRUSH_TYPE_AVERAGE, VPAINT_BRUSH_TYPE_BLUR, VPAINT_BRUSH_TYPE_DRAW, VPAINT_BRUSH_TYPE_SMEAR, View3DOverlay::weight_paint_mode_opacity, which_libbase(), View3DShading::wire_color_type, View3DOverlay::wireframe_threshold, Main::wm, WM_OUTLINER_SYNC_SELECT_FROM_ALL, WO_MODE_UNUSED_1, WO_MODE_UNUSED_2, WO_MODE_UNUSED_3, WO_MODE_UNUSED_4, WO_MODE_UNUSED_5, WO_MODE_UNUSED_7, Main::workspaces, Main::worlds, XR_SESSION_USE_POSITION_TRACKING, View3DShading::xray_alpha, and View3DOverlay::xray_alpha_bone.
Referenced by do_versions().
|
static |
Definition at line 997 of file versioning_280.cc.
References bNodeSocket::identifier, bNodeTree::links, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), SH_NODE_DISPLACEMENT, SH_NODE_OUTPUT_MATERIAL, SOCK_IN, SOCK_OUT, STREQ, bNode::type, version_cycles_node_socket_float_value(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1045 of file versioning_280.cc.
References SH_NODE_DISPLACEMENT, SHD_SPACE_OBJECT, SHD_SPACE_WORLD, SHD_SUBSURFACE_BURLEY, and SHD_SUBSURFACE_RANDOM_WALK_SKIN.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 159 of file versioning_280.cc.
References SpaceAction::ads, ADS_FILTER_SUMMARY, ADS_FLAG_SUMMARY_COLLAPSED, BKE_area_find_region_type(), BKE_area_region_free(), BKE_spacetype_from_id(), BLI_addhead(), BLI_freelistN(), BLI_listbase_clear(), SpaceType::create, bDopeSheet::filterflag, ARegion::flag, bDopeSheet::flag, LISTBASE_FOREACH, SpaceAction::mode, SpaceAction::regionbase, RGN_FLAG_HIDDEN, RGN_TYPE_CHANNELS, SACTCONT_TIMELINE, SPACE_ACTION, and SpaceType::spaceid.
Referenced by do_versions_after_linking_280().
Definition at line 552 of file versioning_280.cc.
References BKE_fcurve_copy(), BLI_insertlinkafter(), bActionGroup::channels, FCurve::driver, DRIVER_TARGETS_LOOPER_BEGIN, DRIVER_TARGETS_LOOPER_END, FCurve::grp, ListBase::last, LISTBASE_FOREACH, replace_bbone_scale_rnapath(), FCurve::rna_path, and ChannelDriver::variables.
Referenced by blo_do_versions_280().
|
static |
Definition at line 521 of file versioning_280.cc.
References BONE_INHERIT_SCALE_NONE_LEGACY, do_version_bones_inherit_scale(), and LISTBASE_FOREACH.
Referenced by blo_do_versions_280(), and do_version_bones_inherit_scale().
|
static |
Definition at line 511 of file versioning_280.cc.
References do_version_bones_split_bbone_scale(), and LISTBASE_FOREACH.
Referenced by blo_do_versions_280(), and do_version_bones_split_bbone_scale().
|
static |
Definition at line 412 of file versioning_280.cc.
References do_version_collection_propagate_lib_to_children(), ID_IS_LINKED, and LISTBASE_FOREACH.
Referenced by do_version_collection_propagate_lib_to_children(), and do_versions_after_linking_280().
|
static |
Definition at line 602 of file versioning_280.cc.
References CONSTRAINT_TYPE_ROTLIKE, LISTBASE_FOREACH, ROTLIKE_MIX_OFFSET, and ROTLIKE_MIX_REPLACE.
Referenced by blo_do_versions_280().
|
static |
Definition at line 592 of file versioning_280.cc.
References CONSTRAINT_TYPE_SIZELIKE, and LISTBASE_FOREACH.
Referenced by blo_do_versions_280().
|
static |
Definition at line 582 of file versioning_280.cc.
References CONSTRAINT_TYPE_SAMEVOL, LISTBASE_FOREACH, and SAMEVOL_UNIFORM.
Referenced by blo_do_versions_280().
|
static |
Definition at line 740 of file versioning_280.cc.
References CurveMapping::cm, CUMA_EXTEND_EXTRAPOLATE, CUMA_EXTEND_EXTRAPOLATE_OLD, and CurveMapping::flag.
Referenced by blo_do_versions_280().
|
static |
Definition at line 758 of file versioning_280.cc.
References FreestyleLineStyle::alpha_modifiers, Main::brushes, callback, Paint::cavity_curve, WeightVGEditModifierData::cmap_curve, GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::cur_primitive, HookGpencilModifierData::curfalloff, HookModifierData::curfalloff, WarpModifierData::curfalloff, ColorGpencilModifierData::curve_intensity, NoiseGpencilModifierData::curve_intensity, OpacityGpencilModifierData::curve_intensity, SmoothGpencilModifierData::curve_intensity, TintGpencilModifierData::curve_intensity, CurvesModifierData::curve_mapping, HueCorrectModifierData::curve_mapping, ThickGpencilModifierData::curve_thickness, GP_Interpolate_Settings::custom_ipo, eGpencilModifierType_Color, eGpencilModifierType_Hook, eGpencilModifierType_Noise, eGpencilModifierType_Opacity, eGpencilModifierType_Smooth, eGpencilModifierType_Thick, eGpencilModifierType_Tint, ELEM, eModifierType_Hook, eModifierType_Warp, eModifierType_WeightVGEdit, FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, ToolSettings::gp_interpolate, ToolSettings::gp_paint, ToolSettings::gp_sculpt, ToolSettings::imapaint, linestyle, Main::linestyles, LISTBASE_FOREACH, LS_MODIFIER_ALONG_STROKE, LS_MODIFIER_CREASE_ANGLE, LS_MODIFIER_CURVATURE_3D, LS_MODIFIER_DISTANCE_FROM_CAMERA, LS_MODIFIER_DISTANCE_FROM_OBJECT, LS_MODIFIER_MATERIAL, LS_MODIFIER_NOISE, LS_MODIFIER_TANGENT, node_tree, Main::objects, GpPaint::paint, ImagePaintSettings::paint, Sculpt::paint, VPaint::paint, Main::particles, Main::scenes, ToolSettings::sculpt, SEQ_modifier_type_info_get(), Sequence::seqbase, seqModifierType_Curves, seqModifierType_HueCorrect, SH_NODE_CURVE_RGB, SH_NODE_CURVE_VEC, FreestyleLineStyle::thickness_modifiers, ToolSettings::vpaint, and ToolSettings::wpaint.
Referenced by blo_do_versions_280().
Definition at line 254 of file versioning_280.cc.
References ViewLayer::basact, BASE_SELECTABLE, BASE_SELECTED, BKE_collection_add(), BKE_collection_master_add(), BKE_collection_object_add_notest(), BKE_freestyle_config_free(), BKE_layer_collection_first_from_scene_collection(), BKE_view_layer_add(), BKE_view_layer_base_find(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), BLI_freelistN(), BLI_listbase_is_single(), COLLECTION_HIDE_RENDER, COLLECTION_HIDE_VIEWPORT, DATA_, Collection::flag, LayerCollection::flag, ViewLayer::flag, ViewLayer::freestyle_config, ID_IS_LINKED, ViewLayer::id_properties, ID_TAG_INDIRECT, id_us_min(), LAYER_COLLECTION_EXCLUDE, LAYER_COLLECTION_HOLDOUT, LAYER_COLLECTION_INDIRECT_ONLY, LayerCollection::layer_collections, ViewLayer::layflag, LISTBASE_FOREACH, ViewLayer::mat_override, MAX_ID_NAME, Base::object, ViewLayer::pass_alpha_threshold, ViewLayer::passflag, ViewLayer::samples, SCE_LAY_DISABLE, SCE_LAY_FRS, SELECT, SNPRINTF, VIEWLAYER_ADD_NEW, and ViewLayer::world_override.
Referenced by do_versions_after_linking_280().
|
static |
After lib-link versioning for new workspace design.
startup.blend. Definition at line 199 of file versioning_280.cc.
References BKE_view_layer_default_view(), BKE_workspace_active_layout_set(), BKE_workspace_active_set(), BKE_workspace_instance_hook_create(), BKE_workspace_layout_find(), BLI_assert, BLI_findlink(), BLI_findstring(), BLI_freelistN(), BLI_listbase_is_empty(), do_version_workspaces_create_from_screens(), LISTBASE_FOREACH, offsetof, scene, screen_parent_find(), Main::screens, STRNCPY, Main::wm, and Main::workspaces.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 130 of file versioning_280.cc.
References BKE_workspace_add(), BKE_workspace_layout_add(), BLI_findstring(), bScreen::id, WorkSpace::id, Main::is_locked_for_linking, LISTBASE_FOREACH, ID::name, offsetof, screen_parent_find(), Main::screens, and Main::workspaces.
Referenced by do_version_workspaces_after_lib_link().
Always bump subversion in BKE_blender_version.h when adding versioning code here, and wrap it inside a MAIN_VERSION_FILE_ATLEAST check.
Definition at line 2202 of file versioning_280.cc.
References ambient_occlusion_node_relink(), BBONE_HANDLE_ABSOLUTE, BBONE_HANDLE_AUTO, BBONE_HANDLE_RELATIVE, BKE_blender_globals_main_swap(), BKE_collection_add(), BKE_collection_master_add(), BKE_collection_object_add_notest(), BKE_collection_object_remove(), BKE_fcurves_id_cb(), BKE_freestyle_config_free(), BKE_keyblock_curve_element_count(), BKE_mesh_do_versions_convert_mfaces_to_mpolys(), BKE_mesh_tessface_clear(), BKE_paint_ensure_from_paintmode(), BKE_rigidbody_constraints_collection_validate(), BKE_rigidbody_objects_collection_validate(), BKE_workspace_active_screen_get(), BLI_assert, BLI_findstring(), BLI_freelistN(), BLI_listbase_is_single(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_calloc(), BLI_mempool_create(), BLI_strdupn(), BLO_read_assert_message, Main::brushes, CAM_DOF_ENABLED, CAM_ORTHO, Main::cameras, SpaceClip::clip, COLLECTION_HIDE_RENDER, COLLECTION_HIDE_VIEWPORT, Main::collections, copy_v3_v3(), Main::curves, Object::data, DATA_, displacement_node_insert(), displacement_principled_nodes(), do_version_area_change_space_to_space_action(), do_version_collection_propagate_lib_to_children(), do_version_layers_to_collections(), do_version_workspaces_after_lib_link(), do_versions_fix_annotations(), do_versions_material_convert_legacy_blend_mode(), do_versions_rename_id(), Camera::dof, ELEM, RenderData::engine, ListBase::first, bGPdata::flag, CameraDOFSettings::flag, TreeStoreElem::flag, Paint::flags, float, FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, GP_DATA_ANNOTATIONS, GP_LAYER_IS_RULER, ToolSettings::gp_paint, Material::gp_style, MovieClip::gpd, SpaceImage::gpd, GPencil, bArmature::id, Library::id, TreeStoreElem::id, ID_BR, id_fake_user_set(), ID_MA, IDP_FreeProperty(), image_node_colorspace(), bGPdata::layers, ID::lib, light_emission_unify(), Main::lights, LISTBASE_FOREACH, MA_BM_BLEND, MAIN_VERSION_FILE_ATLEAST, mapping_node_order_flip(), Main::materials, MAX_ID_NAME, MEM_callocN, MEM_freeN(), Main::meshes, TreeStoreElem::nr, NTREE_SHADER, OB_CAMERA, OB_DUPLI, OB_DUPLI_FLAG_RENDER, OB_DUPLI_FLAG_VIEWPORT, Main::objects, offsetof, SpaceOutliner::outlinevis, GpPaint::paint, PAINT_SHOW_BRUSH, Main::particles, POSE_RECALC, Scene::r, BezTriple::radius, BPoint::radius, RE_engine_id_BLENDER_EEVEE, RE_engine_id_CYCLES, FCurve::rna_path, scene, Main::scenes, Main::screens, SculptGPencil, SNPRINTF, SO_VIEW_LAYER, SPACE_CLIP, SPACE_EMPTY, SPACE_IMAGE, SPACE_OUTLINER, square_roughness_node_insert(), STREQ, BezTriple::tilt, BPoint::tilt, SpaceOutliner::treestore, TSE_LAYER_COLLECTION, Object::type, TreeStoreElem::type, UNUSED_VARS_NDEBUG, update_mapping_node_inputs_and_properties(), update_math_node_single_operand_operators(), update_musgrave_node_dimensions(), update_noise_and_wave_distortion(), update_noise_node_dimensions(), update_vector_math_node_add_and_subtract_operators(), update_vector_math_node_average_operator(), update_vector_math_node_cross_product_operator(), update_vector_math_node_dot_product_operator(), update_vector_math_node_normalize_operator(), update_voronoi_node_coloring(), update_voronoi_node_crackle(), update_voronoi_node_dimensions(), update_voronoi_node_square_distance(), update_wave_node_directions_and_offset(), TreeStoreElem::used, BezTriple::vec, BPoint::vec, vector_curve_node_remap(), version_cycles_properties_from_ID(), version_cycles_property_float(), version_cycles_property_int(), VertexGPencil, WeightGPencil, wmWindowManager::windows, and Main::wm.
Referenced by do_versions_after_linking().
|
static |
Definition at line 487 of file versioning_280.cc.
References BKE_area_find_region_type(), BLI_insertlinkafter(), do_versions_add_region(), LISTBASE_FOREACH, RGN_ALIGN_LEFT, RGN_TYPE_HEADER, RGN_TYPE_TOOLS, and Main::screens.
Referenced by blo_do_versions_280().
Definition at line 478 of file versioning_280.cc.
References BLI_assert_msg, and do_versions_find_region_or_null().
Referenced by blo_do_versions_280().
Definition at line 468 of file versioning_280.cc.
References LISTBASE_FOREACH.
Referenced by blo_do_versions_280(), and do_versions_find_region().
|
static |
convert old annotations colors
Definition at line 425 of file versioning_280.cc.
References copy_v4_v4(), bGPdata::layers, LISTBASE_FOREACH, and STREQ.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 732 of file versioning_280.cc.
References do_versions_local_collection_bits_set(), LayerCollection::layer_collections, LISTBASE_FOREACH, and LayerCollection::local_collections_bits.
Referenced by blo_do_versions_280(), and do_versions_local_collection_bits_set().
|
static |
Definition at line 634 of file versioning_280.cc.
References add_node(), bNode::custom1, ELEM, ListBase::first, bNodeSocket::identifier, bNode::inputs, ListBase::last, bNodeTree::links, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), SH_NODE_OUTPUT_MATERIAL, SH_NODE_SHADERTORGB, SHD_OUTPUT_ALL, SHD_OUTPUT_EEVEE, SOCK_IN, SOCK_OUT, SOCK_SHADER, STREQ, bNode::type, bNodeSocket::type, and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
Definition at line 452 of file versioning_280.cc.
References BLI_freelinkN().
Referenced by blo_do_versions_280(), and do_versions_remove_regions_by_type().
Definition at line 457 of file versioning_280.cc.
References do_versions_remove_region(), and ListBase::first.
Referenced by blo_do_versions_280().
|
static |
Definition at line 613 of file versioning_280.cc.
References do_versions_seq_alloc_transform_and_crop(), ELEM, LISTBASE_FOREACH, MEM_callocN, SEQ_TYPE_SOUND_HD, and SEQ_TYPE_SOUND_RAM.
Referenced by blo_do_versions_280(), and do_versions_seq_alloc_transform_and_crop().
|
static |
Definition at line 3004 of file versioning_280.cc.
References Editing::cache_flag, Editing::recycle_max_cost, and SEQ_CACHE_STORE_FINAL_OUT.
Referenced by blo_do_versions_280().
Definition at line 2994 of file versioning_280.cc.
References do_versions_seq_unique_name_all_strips(), Scene::ed, LISTBASE_FOREACH, SEQ_sequence_base_unique_name_recursive(), and Editing::seqbase.
Referenced by blo_do_versions_280(), and do_versions_seq_unique_name_all_strips().
| ENUM_OPERATORS | ( | eNTreeDoVersionErrors | , |
| ~int8_t{} | ) |
|
static |
Definition at line 1165 of file versioning_280.cc.
References COLOR_ROLE_DATA, Image::id, IMB_colormanagement_role_colorspace_name_get(), SH_NODE_TEX_ENVIRONMENT, SH_NODE_TEX_IMAGE, STRNCPY, and tex.
Referenced by do_versions_after_linking_280().
Definition at line 1192 of file versioning_280.cc.
References bNodeTree::adt, copy_v3_fl(), copy_v3_v3(), copy_v4_fl(), bNodeSocket::flag, bNodeTree::links, LISTBASE_FOREACH, blender::bke::node_find_socket(), ntreeShaderOutputNode(), SHD_OUTPUT_CYCLES, SOCK_IN, SOCK_IS_LINKED, bNode::type, version_cycles_node_socket_float_value(), and version_cycles_node_socket_rgba_value().
Referenced by light_emission_unify().
|
static |
Definition at line 1241 of file versioning_280.cc.
References copy_v3_v3(), LA_SUN, light_emission_node_to_energy(), and STREQ.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1093 of file versioning_280.cc.
References EULER_ORDER_XYZ, EULER_ORDER_ZYX, eulO_to_quat(), quat_to_eulO(), TexMapping::rot, and SH_NODE_MAPPING.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 533 of file versioning_280.cc.
References BLI_str_endswith(), BLI_strdupcat(), and MEM_freeN().
Referenced by do_version_bbone_scale_fcurve_fix().
Definition at line 114 of file versioning_280.cc.
References BLI_assert, ELEM, LISTBASE_FOREACH, SCREENFULL, and SCREENMAXIMIZED.
Referenced by do_version_workspaces_after_lib_link(), and do_version_workspaces_create_from_screens().
|
static |
Definition at line 3010 of file versioning_280.cc.
References Sequence::effectdata, Sequence::flag, SEQ_SPEED_UNUSED_1, SEQ_TYPE_SPEED, and Sequence::type.
Referenced by blo_do_versions_280().
|
static |
Definition at line 1059 of file versioning_280.cc.
References ELEM, bNode::locx, bNode::locy, max_ff(), node, blender::bke::node_add_link(), blender::bke::node_add_static_node(), NODE_MATH_POWER, SH_NODE_BSDF_GLOSSY_LEGACY, SH_NODE_MATH, sqrtf, version_cycles_node_socket_float_value(), and version_update_node_input().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1688 of file versioning_280.cc.
References BLI_sprintfN(), BLI_str_endswith(), BLI_str_escape(), MEM_freeN(), bNode::name, FCurve::rna_path, and STRPREFIX.
|
static |
Definition at line 1743 of file versioning_280.cc.
References BKE_fcurves_id_cb(), BLI_findlink(), BLI_sprintfN(), BLI_str_escape(), copy_v3_v3(), bNode::custom1, bNodeTree::id, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, MEM_freeN(), blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_MAXIMUM, NODE_VECTOR_MATH_MINIMUM, bNodeTree::nodes, SH_NODE_MAPPING, SH_NODE_VECTOR_MATH, SOCK_IN, SOCK_OUT, TEXMAP_CLIP_MAX, TEXMAP_CLIP_MIN, version_cycles_node_socket_vector_value(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1279 of file versioning_280.cc.
References BLI_findlink(), ELEM, bNodeLink::fromnode, bNodeLink::fromsock, bNodeSocket::link, LISTBASE_FOREACH, blender::bke::node_add_link(), NODE_MATH_ABSOLUTE, NODE_MATH_ARCCOSINE, NODE_MATH_ARCSINE, NODE_MATH_ARCTANGENT, NODE_MATH_CEIL, NODE_MATH_COSINE, NODE_MATH_FLOOR, NODE_MATH_FRACTION, NODE_MATH_ROUND, NODE_MATH_SINE, NODE_MATH_SQRT, NODE_MATH_TANGENT, blender::bke::node_remove_link(), bNodeTree::nodes, SH_NODE_MATH, and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1869 of file versioning_280.cc.
References bNodeTree::links, LISTBASE_FOREACH, SH_NODE_TEX_MUSGRAVE_DEPRECATED, and SOCK_RGBA.
Referenced by blo_do_versions_280().
|
static |
Definition at line 1855 of file versioning_280.cc.
References LISTBASE_FOREACH, bNodeTree::nodes, SH_NODE_TEX_MUSGRAVE_DEPRECATED, and tex.
Referenced by do_versions_after_linking_280().
|
static |
Noise and Wave Texture nodes: Restore previous Distortion range. In 2.81 we used noise() for distortion, now we use snoise() which has twice the range. To fix this we halve distortion value, directly or by adding multiply node for used sockets.
Definition at line 2133 of file versioning_280.cc.
References BLI_findlink(), bNode::custom1, ELEM, bNode::flag, bNodeLink::fromnode, bNodeLink::fromsock, bNode::inputs, bNodeSocket::link, LISTBASE_FOREACH, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), NODE_HIDDEN, NODE_MATH_MULTIPLY, blender::bke::node_remove_link(), bNodeTree::nodes, SH_NODE_MATH, SH_NODE_TEX_NOISE, SH_NODE_TEX_WAVE, SOCK_IN, SOCK_OUT, version_cycles_node_socket_float_value(), version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1664 of file versioning_280.cc.
References LISTBASE_FOREACH, bNodeTree::nodes, SH_NODE_TEX_NOISE, and tex.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1330 of file versioning_280.cc.
References BLI_findlink(), copy_v3_fl(), bNode::custom1, ELEM, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_ABSOLUTE, NODE_VECTOR_MATH_ADD, NODE_VECTOR_MATH_DOT_PRODUCT, NODE_VECTOR_MATH_SUBTRACT, bNodeTree::nodes, SH_NODE_VECTOR_MATH, SOCK_OUT, version_cycles_node_socket_vector_value(), version_node_socket_is_used(), version_socket_update_is_used(), and bNode::width.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1591 of file versioning_280.cc.
References BLI_findlink(), bNode::custom1, bNode::height, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_ADD, NODE_VECTOR_MATH_LENGTH, NODE_VECTOR_MATH_NORMALIZE, bNodeTree::nodes, SH_NODE_VECTOR_MATH, SOCK_OUT, version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1426 of file versioning_280.cc.
References BLI_findlink(), bNode::custom1, bNode::height, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_CROSS_PRODUCT, NODE_VECTOR_MATH_LENGTH, NODE_VECTOR_MATH_NORMALIZE, bNodeTree::nodes, SH_NODE_VECTOR_MATH, SOCK_OUT, version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1385 of file versioning_280.cc.
References copy_v3_fl(), copy_v4_fl(), bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_DOT_PRODUCT, bNodeTree::nodes, SH_NODE_VECTOR_MATH, SOCK_FLOAT, SOCK_OUT, SOCK_RGBA, SOCK_VECTOR, version_cycles_node_socket_float_value(), version_cycles_node_socket_rgba_value(), version_cycles_node_socket_vector_value(), version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1500 of file versioning_280.cc.
References BLI_findlink(), copy_v3_v3(), bNode::custom1, bNodeLink::fromnode, bNodeLink::fromsock, bNode::inputs, bNodeSocket::link, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_LENGTH, NODE_VECTOR_MATH_NORMALIZE, bNodeTree::nodes, SH_NODE_VECTOR_MATH, SOCK_OUT, version_cycles_node_socket_vector_value(), version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1566 of file versioning_280.cc.
References LISTBASE_FOREACH, bNodeTree::nodes, and SH_NODE_VECTOR_MATH.
Referenced by blo_do_versions_280().
|
static |
The coloring property of the Voronoi node was removed. Previously, if the coloring enum was set to Intensity (0), the voronoi distance was returned in all outputs, otherwise, the Cell ID was returned. Since we remapped the Fac output in update_voronoi_node_fac_output, then to fix this, we relink the Color output to the Distance output if coloring was set to 0, and the other way around otherwise.
Definition at line 2046 of file versioning_280.cc.
References bNodeTree::links, LISTBASE_FOREACH_BACKWARD_MUTABLE, blender::bke::node_add_link(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), SH_NODE_TEX_VORONOI, SOCK_OUT, tex, and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1943 of file versioning_280.cc.
References BLI_findlink(), bNode::custom1, NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, NodeTexVoronoi::feature, bNodeLink::fromnode, bNodeLink::fromsock, bNode::inputs, bNodeSocket::link, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), NODE_MATH_SUBTRACT, blender::bke::node_remove_link(), bNodeTree::nodes, SH_NODE_MATH, SH_NODE_TEX_VORONOI, SHD_VORONOI_F1, SHD_VORONOI_F2, SOCK_IN, SOCK_OUT, bNode::storage, tex, version_cycles_node_socket_float_value(), version_node_socket_is_used(), version_socket_update_is_used(), and bNode::width.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1883 of file versioning_280.cc.
References LISTBASE_FOREACH, bNodeTree::nodes, SH_NODE_TEX_VORONOI, and tex.
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1898 of file versioning_280.cc.
References ELEM, LISTBASE_FOREACH, bNodeTree::nodes, SH_NODE_TEX_VORONOI, SHD_VORONOI_F2, and tex.
Referenced by blo_do_versions_280().
|
static |
Definition at line 1916 of file versioning_280.cc.
References BLI_findlink(), bNodeSocket::identifier, LISTBASE_FOREACH, bNodeSocket::name, bNodeTree::nodes, SH_NODE_TEX_VORONOI, and STRNCPY.
Referenced by blo_do_versions_280().
|
static |
Definition at line 2084 of file versioning_280.cc.
References BLI_findlink(), bNode::custom1, ELEM, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::locx, bNode::locy, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), NODE_MATH_MULTIPLY, blender::bke::node_remove_link(), bNodeTree::nodes, SH_NODE_MATH, SH_NODE_TEX_VORONOI, SHD_VORONOI_EUCLIDEAN, SHD_VORONOI_F1, SHD_VORONOI_F2, SOCK_OUT, tex, version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by do_versions_after_linking_280().
|
static |
Wave Texture node: Restore previous texture directions and offset.
Definition at line 2185 of file versioning_280.cc.
References LISTBASE_FOREACH, M_PI_2, blender::bke::node_find_socket(), bNodeTree::nodes, SH_NODE_TEX_WAVE, SHD_WAVE_BANDS_DIRECTION_DIAGONAL, SHD_WAVE_PROFILE_SIN, SHD_WAVE_RINGS_DIRECTION_SPHERICAL, SOCK_IN, tex, and version_cycles_node_socket_float_value().
Referenced by do_versions_after_linking_280().
|
static |
Definition at line 1105 of file versioning_280.cc.
References BKE_curvemapping_changed_all(), CM_TOT, CurveMap::curve, CurveMapping::flag, SH_NODE_CURVE_VEC, CurveMap::totpoint, CurveMapPoint::x, and CurveMapPoint::y.
Referenced by do_versions_after_linking_280().