|
Blender V5.0
|
#include <fmt/format.h>#include "DNA_anim_types.h"#include "DNA_brush_types.h"#include "DNA_defaults.h"#include "DNA_light_types.h"#include "DNA_mesh_types.h"#include "DNA_object_force_types.h"#include "DNA_pointcloud_types.h"#include "DNA_screen_types.h"#include "DNA_sequence_types.h"#include "BLI_listbase.h"#include "BLI_math_vector.h"#include "BLI_set.hh"#include "BLI_string.h"#include "BLI_string_utf8.h"#include "BLI_string_utils.hh"#include "BLI_sys_types.h"#include "BKE_anim_data.hh"#include "BKE_animsys.h"#include "BKE_armature.hh"#include "BKE_curves.hh"#include "BKE_customdata.hh"#include "BKE_fcurve.hh"#include "BKE_grease_pencil.hh"#include "BKE_idprop.hh"#include "BKE_lib_id.hh"#include "BKE_lib_query.hh"#include "BKE_main.hh"#include "BKE_mesh_legacy_convert.hh"#include "BKE_node.hh"#include "BKE_node_legacy_types.hh"#include "BKE_node_runtime.hh"#include "BKE_paint.hh"#include "SEQ_iterator.hh"#include "SEQ_sequencer.hh"#include "ANIM_action.hh"#include "ANIM_action_iterators.hh"#include "ANIM_armature_iter.hh"#include "RNA_access.hh"#include "readfile.hh"#include "versioning_common.hh"Go to the source code of this file.
Macros | |
| #define | DNA_DEPRECATED_ALLOW |
| #define DNA_DEPRECATED_ALLOW |
Definition at line 9 of file versioning_450.cc.
|
static |
Definition at line 4868 of file versioning_450.cc.
References SpaceFile::asset_params, FileAssetSelectParams::base_params, FileSelectParams::details_flags, FileSelectParams::list_column_size, FileSelectParams::list_thumbnail_size, LISTBASE_FOREACH, SpaceFile::params, Main::screens, and SPACE_FILE.
Referenced by blo_do_versions_450().
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 5024 of file versioning_450.cc.
References blender::animrig::ANIM_armature_foreach_bone(), Main::armatures, asset_browser_add_list_view(), SpaceFile::asset_params, BLI_str_utf8_invalid_strip(), BONE_CONNECTED, CD_PROP_FLOAT, CD_PROP_FLOAT2, CD_PROP_FLOAT3, CMP_NODE_ANTIALIASING, CMP_NODE_BOKEHIMAGE, CMP_NODE_CHANNEL_MATTE, CMP_NODE_CHROMA_MATTE, CMP_NODE_COLOR_MATTE, CMP_NODE_COLOR_SPILL, CMP_NODE_COLORCORRECTION, CMP_NODE_CORNERPIN, CMP_NODE_DENOISE, CMP_NODE_DESPECKLE, CMP_NODE_DIFF_MATTE, CMP_NODE_DILATEERODE, CMP_NODE_DIST_MATTE, CMP_NODE_GLARE, CMP_NODE_ID_MASK, CMP_NODE_INPAINT, CMP_NODE_INTERPOLATION_ANISOTROPIC, CMP_NODE_INTERPOLATION_BILINEAR, CMP_NODE_INVERT, CMP_NODE_KEYING, CMP_NODE_KEYINGSCREEN, CMP_NODE_KUWAHARA, CMP_NODE_LENSDIST, CMP_NODE_LUMA_MATTE, CMP_NODE_MASK, CMP_NODE_MASK_BOX, CMP_NODE_MASK_ELLIPSE, CMP_NODE_PIXELATE, CMP_NODE_PLANETRACKDEFORM, CMP_NODE_SCALE, CMP_NODE_SPLIT, CMP_NODE_STABILIZE2D, CMP_NODE_SWITCH, CMP_NODE_TIME, CMP_NODE_TONEMAP, CMP_NODE_VECBLUR, CMP_NODE_ZCOMBINE, data, DNA_struct_default_get, do_version_anti_alias_node_options_to_inputs(), do_version_bokeh_image_node_options_to_inputs(), do_version_box_mask_node_options_to_inputs(), do_version_channel_matte_node_options_to_inputs(), do_version_chroma_matte_node_options_to_inputs(), do_version_color_correction_node_options_to_inputs(), do_version_color_matte_node_options_to_inputs(), do_version_color_spill_node_options_to_inputs(), do_version_denoise_node_options_to_inputs(), do_version_despeckle_node_options_to_inputs(), do_version_difference_matte_node_options_to_inputs(), do_version_dilate_node_options_to_inputs(), do_version_distance_matte_node_options_to_inputs(), do_version_ellipse_mask_node_options_to_inputs(), do_version_glare_node_star_45_option_to_input(), do_version_id_mask_node_options_to_inputs(), do_version_inpaint_node_options_to_inputs(), do_version_invert_node_options_to_inputs(), do_version_keying_node_options_to_inputs(), do_version_keying_screen_node_options_to_inputs(), do_version_kuwahara_node_options_to_inputs(), do_version_lens_distortion_node_options_to_inputs(), do_version_luminance_matte_node_options_to_inputs(), do_version_mask_node_options_to_inputs(), do_version_node_curve_to_mesh_scale_input(), do_version_pixelate_node_options_to_inputs(), do_version_plane_track_deform_node_options_to_inputs(), do_version_split_node_options_to_inputs(), do_version_stabilize_node_options_to_inputs(), do_version_switch_node_options_to_inputs(), do_version_time_curve_node_options_to_inputs(), do_version_tone_map_node_options_to_inputs(), do_version_vector_blur_node_options_to_inputs(), do_version_z_combine_node_options_to_inputs(), FILE_ASSET_IMPORT_INSTANCE_COLLECTIONS_ON_LINK, FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, Main::images, FileAssetSelectParams::import_flags, LISTBASE_FOREACH, MAIN_VERSION_FILE_ATLEAST, MEM_callocN(), Main::nodetrees, NTREE_COMPOSIT, NTREE_GEOMETRY, Main::objects, RGN_TYPE_WINDOW, SCE_SNAP, Main::scenes, Main::screens, SEQ_SNAP_TO_FRAME_RANGE, Object::shadow_terminator_geometry_offset, Object::shadow_terminator_normal_offset, Object::shadow_terminator_shading_offset, ToolSettings::snap_flag_seq, SequencerToolSettings::snap_mode, SPACE_FILE, SPACE_PROPERTIES, SPACE_SEQ, STREQ, STRNLEN, blender::seq::tool_settings_ensure(), V2D_KEEPOFS_X, V2D_KEEPOFS_Y, V2D_KEEPZOOM, version_convert_sculpt_planar_brushes(), version_cycles_properties_from_ID(), version_cycles_property_float(), version_sequencer_update_overdrop(), version_set_uv_face_overlay_defaults(), version_show_texpaint_to_show_uv(), SpaceProperties::visible_tabs, VOLUME_GRID_FLOAT, and VOLUME_GRID_VECTOR_FLOAT.
Referenced by do_versions().
|
static |
Definition at line 4064 of file versioning_450.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), bNodeSocket::default_value, ELEM, bNodeLink::fromnode, GEO_NODE_SUBDIVIDE_MESH, GEO_NODE_SUBDIVISION_SURFACE, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, bNode::location, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), blender::bke::node_find_socket(), bNode::parent, SH_NODE_CLAMP, SOCK_FLOAT, SOCK_IN, SOCK_INT, SOCK_OUT, bNodeLink::tosock, tree, bNodeSocket::type, bNode::type_legacy, bNodeSocketValueFloat::value, bNodeSocketValueInt::value, version_node_add_empty(), version_node_add_link(), version_node_add_socket(), and version_socket_update_is_used().
|
static |
Definition at line 4025 of file versioning_450.cc.
References BRUSH_COLOR_JITTER_USE_HUE_AT_STROKE, BRUSH_COLOR_JITTER_USE_HUE_RAND_PRESS, BRUSH_COLOR_JITTER_USE_SAT_AT_STROKE, BRUSH_COLOR_JITTER_USE_SAT_RAND_PRESS, BRUSH_COLOR_JITTER_USE_VAL_AT_STROKE, BRUSH_COLOR_JITTER_USE_VAL_RAND_PRESS, Brush::color_jitter_flag, BrushGpencilSettings::flag2, GP_BRUSH_USE_HUE_AT_STROKE, GP_BRUSH_USE_HUE_RAND_PRESS, GP_BRUSH_USE_SAT_AT_STROKE, GP_BRUSH_USE_SAT_RAND_PRESS, GP_BRUSH_USE_VAL_AT_STROKE, GP_BRUSH_USE_VAL_RAND_PRESS, and Brush::gpencil_settings.
|
static |
Definition at line 4010 of file versioning_450.cc.
References BKE_paint_default_curve().
Definition at line 2978 of file versioning_450.cc.
References bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
|
static |
Definition at line 2988 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2883 of file versioning_450.cc.
References CMP_NODE_ALPHA_CONVERT_PREMULTIPLY, CMP_NODE_ALPHA_CONVERT_UNPREMULTIPLY, CMP_NODE_ALPHAOVER, CMP_NODE_PREMULKEY, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::location, MEM_freeN(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNodeTree::nodes, bNode::parent, SH_NODE_MIX, SOCK_IN, SOCK_OUT, SOCK_RGBA, bNode::storage, version_node_add_link(), bNode::width, and x.
Definition at line 1026 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1057 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2629 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
|
static |
Definition at line 2655 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 3131 of file versioning_450.cc.
References CMP_NODE_BLUR, CMP_NODE_DEFOCUS, ELEM, bNodeTree::links, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::location, blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNode::parent, SH_NODE_GAMMA, SOCK_IN, SOCK_OUT, and version_node_add_link().
Definition at line 3831 of file versioning_450.cc.
References BLI_assert_unreachable, CMP_NODE_BLUR_ASPECT_NONE, CMP_NODE_BLUR_ASPECT_X, CMP_NODE_BLUR_ASPECT_Y, CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_VECTOR, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_PER_DIMENSION, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_X, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_Y, bNode::custom1, bNode::custom2, bNodeLink::fromnode, bNodeLink::fromsock, input, bNodeTree::links, LISTBASE_FOREACH, bNode::location, blender::bke::node_add_node(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), blender::bke::node_modify_socket_type_static(), blender::bke::node_remove_link(), NODE_VECTOR_MATH_SCALE, bNode::parent, PROP_NONE, SOCK_BOOLEAN, SOCK_IN, SOCK_OUT, SOCK_VECTOR, bNode::storage, version_node_add_link(), and bNode::width.
|
static |
Definition at line 3968 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 3018 of file versioning_450.cc.
References bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
|
static |
Definition at line 3028 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 198 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_ANGLE, PROP_FACTOR, PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 245 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 2313 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_ANGLE, PROP_FACTOR, SOCK_FLOAT, SOCK_IN, SOCK_VECTOR, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 2345 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2808 of file versioning_450.cc.
References CMP_NODE_ALPHA_CONVERT_PREMULTIPLY, CMP_NODE_ALPHA_CONVERT_UNPREMULTIPLY, CMP_NODE_BRIGHTCONTRAST, CMP_NODE_PREMULKEY, bNodeTree::links, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::location, blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNode::parent, SOCK_IN, SOCK_OUT, and version_node_add_link().
Definition at line 1157 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1178 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1211 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_ANGLE, PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1241 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 3571 of file versioning_450.cc.
References copy_v3_v3(), input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_COLOR_TEMPERATURE, PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_RGBA, bNode::storage, and bNodeSocketValueRGBA::value.
|
static |
Definition at line 3659 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 1945 of file versioning_450.cc.
References bNode::custom1, input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 2147 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1277 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1307 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1511 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_RGBA, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1545 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2690 of file versioning_450.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), CMP_NODE_COMPOSITE_DEPRECATED, CMP_NODE_OUTPUT_IGNORE_ALPHA, CMP_NODE_SETALPHA, CMP_NODE_SETALPHA_MODE_REPLACE_ALPHA, CMP_NODE_VIEWER, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), copy_v4_v4(), ELEM, bNodeLink::fromnode, bNodeLink::fromsock, bNodeTree::links, LISTBASE_FOREACH, bNode::location, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNodeTree::nodes, bNode::parent, SOCK_IN, SOCK_OUT, bNodeSocketValueRGBA::value, and version_node_add_link().
Definition at line 3359 of file versioning_450.cc.
References CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_FLOAT, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_X, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_Y, bNode::custom1, bNode::custom2, bNodeLink::fromnode, bNodeLink::fromsock, input, bNodeTree::links, LISTBASE_FOREACH, bNode::location, MEM_freeN(), blender::bke::node_add_node(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), bNode::parent, PROP_NONE, SOCK_BOOLEAN, SOCK_IN, SOCK_INT, SOCK_OUT, bNode::storage, version_node_add_link(), and bNode::width.
|
static |
Definition at line 3528 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 982 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 997 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 928 of file versioning_450.cc.
References bNode::custom3, bNode::custom4, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_FLOAT, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 949 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 1343 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1367 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 731 of file versioning_450.cc.
References bNode::custom2, bNode::custom3, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_FLOAT, SOCK_IN, and SOCK_INT.
Referenced by blo_do_versions_450().
|
static |
Definition at line 747 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2526 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_ANGLE, PROP_FACTOR, PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_INT, SOCK_VECTOR, and bNode::storage.
|
static |
Definition at line 2576 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 1400 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1421 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 2390 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_ANGLE, PROP_FACTOR, SOCK_FLOAT, SOCK_IN, SOCK_VECTOR, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 2422 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 4049 of file versioning_450.cc.
References bNode::custom1, ELEM, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Definition at line 156 of file versioning_450.cc.
References blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 174 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1794 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, SOCK_IN, and SOCK_INT.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1810 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 779 of file versioning_450.cc.
References bNode::custom2, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_IN, and SOCK_INT.
Referenced by blo_do_versions_450().
|
static |
Definition at line 789 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 524 of file versioning_450.cc.
References CMP_CHAN_A, CMP_CHAN_RGB, bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 542 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1635 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1735 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1590 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1605 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 857 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 890 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 2252 of file versioning_450.cc.
References CMP_NODE_LENS_DISTORTION_HORIZONTAL, CMP_NODE_LENS_DISTORTION_RADIAL, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 2277 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 1454 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1478 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 336 of file versioning_450.cc.
References CMP_NODE_MASK_FLAG_MOTION_BLUR, CMP_NODE_MASK_FLAG_NO_FEATHER, bNode::custom1, bNode::custom2, bNode::custom3, input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 386 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 137 of file versioning_450.cc.
References CMP_NODE_GLARE, LISTBASE_FOREACH, blender::bke::node_find_socket(), bNodeTree::nodes, SOCK_IN, and version_node_socket_is_used().
Referenced by do_versions_after_linking_450().
|
static |
Definition at line 4759 of file versioning_450.cc.
References Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), CD_PROP_FLOAT, NodeGeometryInputNamedAttribute::data_type, bNode::flag, NodeSwitch::input_type, LISTBASE_FOREACH, bNode::location, MEM_callocN(), blender::bke::node_find_socket(), NODE_SELECT, bNode::parent, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_OUT, SOCK_STRING, bNode::storage, STREQ, STRNCPY(), tree, bNodeSocketValueString::value, version_node_add_empty(), version_node_add_link(), version_node_add_socket_if_not_exist(), version_node_socket_is_used(), and version_socket_update_is_used().
Referenced by blo_do_versions_450().
Definition at line 818 of file versioning_450.cc.
References bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_IN, and SOCK_INT.
Referenced by blo_do_versions_450().
|
static |
Definition at line 828 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 1882 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1909 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 3720 of file versioning_450.cc.
References bNodeLink::fromnode, bNodeLink::fromsock, bNodeTree::links, LISTBASE_FOREACH, bNode::location, blender::bke::node_add_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNodeTree::nodes, bNode::parent, SOCK_IN, SOCK_OUT, STREQ, bNodeLink::tonode, bNodeLink::tosock, and version_node_add_link().
|
static |
Definition at line 3059 of file versioning_450.cc.
References CMP_NODE_SCALE, CMP_NODE_SCALE_RENDER_SIZE, CMP_NODE_TRANSLATE, bNodeTree::links, LISTBASE_FOREACH_BACKWARD_MUTABLE, bNode::location, blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNode::parent, SOCK_IN, SOCK_OUT, bNode::storage, version_node_add_link(), x, and y.
Definition at line 476 of file versioning_450.cc.
References bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 486 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 1842 of file versioning_450.cc.
References bNode::custom2, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1852 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 2468 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, SOCK_FLOAT, SOCK_IN, SOCK_VECTOR, and bNode::storage.
|
static |
Definition at line 2493 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 430 of file versioning_450.cc.
References bNode::custom1, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 440 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 287 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_IN, and SOCK_INT.
Referenced by blo_do_versions_450().
|
static |
Definition at line 303 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Definition at line 623 of file versioning_450.cc.
References input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_FACTOR, PROP_NONE, SOCK_FLOAT, SOCK_IN, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 684 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Definition at line 3236 of file versioning_450.cc.
References CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_FLOAT, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_X, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_Y, bNode::custom1, bNode::custom2, data, bNodeLink::fromnode, bNodeLink::fromsock, bNodeTree::links, LISTBASE_FOREACH, bNode::location, blender::bke::node_add_node(), blender::bke::node_find_socket(), blender::bke::node_remove_link(), bNodeTree::nodes, bNode::parent, SOCK_IN, SOCK_OUT, STREQ, bNodeSocketValueFloat::value, and version_node_add_link().
Definition at line 1096 of file versioning_450.cc.
References input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450().
|
static |
Definition at line 1121 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
|
static |
Vector sockets can now have different dimensions, so set the dimensions for existing sockets to 3.
Definition at line 3796 of file versioning_450.cc.
References blender::bke::node_interface::get_item_as(), blender::bke::node_interface::get_socket_data_as(), bNodeTreeInterfaceItem::item_type, LISTBASE_FOREACH, NODE_INTERFACE_SOCKET, blender::bke::node_socket_type_find(), bNodeTree::nodes, SOCK_VECTOR, bNodeTreeInterfaceSocket::socket_type, bNodeTree::tree_interface, and blender::bke::bNodeSocketType::type.
Definition at line 574 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by blo_do_versions_450().
|
static |
Definition at line 590 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
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 4127 of file versioning_450.cc.
References Main::actions, CMP_NODE_GLARE, do_version_new_glare_clamp_input(), blender::animrig::foreach_fcurve_in_action_slot(), FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, blender::Span< T >::is_empty(), LISTBASE_FOREACH, MAIN_VERSION_FILE_ATLEAST, NTREE_COMPOSIT, blender::animrig::Action::slots(), and version_node_socket_index_animdata().
Referenced by do_versions_after_linking().
|
static |
Fixes situation when CurvesGeometry instance has curves with NURBS_KNOT_MODE_CUSTOM, but has no custom knots.
Definition at line 83 of file versioning_450.cc.
References CD_PROP_INT8, CustomData_get_layer_named_for_write(), GP_DRAWING, Main::grease_pencils, Main::hair_curves, LISTBASE_FOREACH, NURBS_KNOT_MODE_CUSTOM, NURBS_KNOT_MODE_NORMAL, blender::bke::greasepencil::Drawing::strokes_for_write(), and wrap().
|
static |
Definition at line 122 of file versioning_450.cc.
References LISTBASE_FOREACH, nlastrips_apply_fcurve_versioning(), and version_fix_fcurve_noise_offset().
Referenced by nlastrips_apply_fcurve_versioning().
|
static |
Definition at line 4996 of file versioning_450.cc.
References bNodeTreeInterfaceItem::item_type, node_interface_single_value_to_structure_type(), NODE_INTERFACE_SOCKET_SINGLE_VALUE_ONLY_LEGACY, NODE_INTERFACE_SOCKET_STRUCTURE_TYPE_AUTO, and NODE_INTERFACE_SOCKET_STRUCTURE_TYPE_SINGLE.
Referenced by node_interface_single_value_to_structure_type().
|
static |
Definition at line 4847 of file versioning_450.cc.
References Strip::blend_mode, STRIP_BLEND_ALPHAOVER, STRIP_BLEND_OVERDROP_REMOVED, STRIP_TYPE_ALPHAOVER, STRIP_TYPE_OVERDROP_REMOVED, and Strip::type.
Referenced by version_sequencer_update_overdrop().
|
static |
Definition at line 4936 of file versioning_450.cc.
References BRUSH_INVERT_TO_SCRAPE_FILL, BRUSH_ORIGINAL_NORMAL, BRUSH_ORIGINAL_PLANE, BRUSH_PLANE_INVERT_DISPLACEMENT, BRUSH_PLANE_SWAP_HEIGHT_AND_DEPTH, BRUSH_PLANE_TRIM, Main::brushes, ELEM, LISTBASE_FOREACH, and SCULPT_BRUSH_TYPE_PLANE.
Referenced by blo_do_versions_450().
|
static |
Turns all instances of { and } in a string into {{ and }}, escaping them for strings that are processed with templates so that they don't erroneously get interpreted as template expressions.
Definition at line 3109 of file versioning_450.cc.
References BLI_string_replace_range().
Referenced by version_escape_curly_braces_in_compositor_file_output_nodes().
|
static |
Escapes all instances of { and } in the paths in a compositor node tree's File Output nodes.
If the passed node tree is not a compositor node tree, does nothing.
Definition at line 3212 of file versioning_450.cc.
References NodeCompositorFileOutput::directory, FILE_MAX, LISTBASE_FOREACH, bNodeTree::nodes, NTREE_COMPOSIT, STREQ, bNodeTree::type, and version_escape_curly_braces().
|
static |
Definition at line 63 of file versioning_450.cc.
References data, FMODIFIER_TYPE_NOISE, LISTBASE_FOREACH, and FCurve::modifiers.
Referenced by nlastrips_apply_fcurve_versioning().
|
static |
Definition at line 4858 of file versioning_450.cc.
References blender::seq::foreach_strip(), LISTBASE_FOREACH, Main::scenes, and strip_effect_overdrop_to_alphaover().
Referenced by blo_do_versions_450().
|
static |
Definition at line 5015 of file versioning_450.cc.
References blender::animrig::ANIM_armature_foreach_bone(), Main::armatures, BLI_assert_msg, and LISTBASE_FOREACH.
|
static |
Definition at line 4915 of file versioning_450.cc.
References LISTBASE_FOREACH, Main::screens, SPACE_IMAGE, STREQ, and SpaceImage::uv_face_opacity.
Referenced by blo_do_versions_450().
|
static |
Definition at line 4899 of file versioning_450.cc.
References SpaceImage::flag, LISTBASE_FOREACH, Main::screens, SI_NO_DRAW_UV_GUIDE, and SPACE_IMAGE.
Referenced by blo_do_versions_450().