|
Blender V4.5
|
#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_modifier_types.h"#include "DNA_object_force_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_override.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 "BKE_colortools.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 5385 of file versioning_450.cc.
References asset_browser_add_list_view(), 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 asset_browser_add_list_view(), and 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 5541 of file versioning_450.cc.
References Main::armatures, asset_browser_add_list_view(), SpaceFile::asset_params, BLI_str_utf8_invalid_strip(), blo_do_versions_450(), 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_CORNER_PIN_INTERPOLATION_ANISOTROPIC, 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_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_convert_to_generic_nodes(), 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 blo_bhead_prev(), blo_do_versions_450(), and do_versions().
|
static |
Definition at line 4492 of file versioning_450.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), clamp_subdivision_node_level_input(), 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, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, bNode::location, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), blender::bke::node_find_socket(), bNodeTree::nodes, bNode::parent, SH_NODE_CLAMP, SOCK_FLOAT, SOCK_IN, SOCK_INT, SOCK_OUT, bNodeLink::tosock, 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().
Referenced by clamp_subdivision_node_level_input().
|
static |
Definition at line 4453 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, do_convert_gp_jitter_flags(), 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.
Referenced by do_convert_gp_jitter_flags().
|
static |
Definition at line 4438 of file versioning_450.cc.
References BKE_paint_default_curve(), UnifiedPaintSettings::curve_rand_hue, UnifiedPaintSettings::curve_rand_saturation, UnifiedPaintSettings::curve_rand_value, do_init_default_jitter_curves_in_unified_paint_settings(), and ToolSettings::unified_paint_settings.
Referenced by do_init_default_jitter_curves_in_unified_paint_settings().
Definition at line 3408 of file versioning_450.cc.
References bNode::custom1, do_version_alpha_over_node_options_to_inputs(), input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by do_version_alpha_over_node_options_to_inputs().
|
static |
Definition at line 3418 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_alpha_over_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_alpha_over_node_options_to_inputs_animation().
|
static |
Definition at line 3321 of file versioning_450.cc.
References CMP_NODE_ALPHA_CONVERT_PREMULTIPLY, CMP_NODE_ALPHA_CONVERT_UNPREMULTIPLY, CMP_NODE_ALPHAOVER, CMP_NODE_PREMULKEY, bNode::custom1, do_version_alpha_over_remove_premultiply(), 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.
Referenced by do_version_alpha_over_remove_premultiply().
Definition at line 1475 of file versioning_450.cc.
References do_version_anti_alias_node_options_to_inputs(), 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(), and do_version_anti_alias_node_options_to_inputs().
|
static |
Definition at line 1506 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_anti_alias_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_anti_alias_node_options_to_inputs_animation().
|
static |
Definition at line 3078 of file versioning_450.cc.
References do_version_bilateral_blur_node_options_to_inputs(), 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 do_version_bilateral_blur_node_options_to_inputs().
|
static |
Definition at line 3104 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_bilateral_blur_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_bilateral_blur_node_options_to_inputs_animation().
|
static |
Definition at line 3561 of file versioning_450.cc.
References CMP_NODE_BLUR, CMP_NODE_DEFOCUS, CMP_NODE_GAMMA, do_version_blur_defocus_nodes_remove_gamma(), ELEM, NodeDefocus::gamco, NodeBlurData::gamma, 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().
Referenced by do_version_blur_defocus_nodes_remove_gamma().
Definition at line 4259 of file versioning_450.cc.
References NodeBlurData::aspect, BLI_assert_unreachable, NodeBlurData::bokeh, 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, do_version_blur_node_options_to_inputs(), 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, NodeBlurData::percentx, NodeBlurData::percenty, PROP_NONE, NodeBlurData::relative, NodeBlurData::sizex, NodeBlurData::sizey, SOCK_BOOLEAN, SOCK_IN, SOCK_OUT, SOCK_VECTOR, bNode::storage, version_node_add_link(), and bNode::width.
Referenced by do_version_blur_node_options_to_inputs().
|
static |
Definition at line 4396 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_blur_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_blur_node_options_to_inputs_animation().
Definition at line 3448 of file versioning_450.cc.
References bNode::custom1, do_version_bokeh_blur_node_options_to_inputs(), input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by do_version_bokeh_blur_node_options_to_inputs().
|
static |
Definition at line 3458 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_bokeh_blur_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_bokeh_blur_node_options_to_inputs_animation().
Definition at line 647 of file versioning_450.cc.
References do_version_bokeh_image_node_options_to_inputs(), 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(), and do_version_bokeh_image_node_options_to_inputs().
|
static |
Definition at line 694 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_bokeh_image_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_bokeh_image_node_options_to_inputs_animation().
Definition at line 2762 of file versioning_450.cc.
References do_version_box_mask_node_options_to_inputs(), 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(), and do_version_box_mask_node_options_to_inputs().
|
static |
Definition at line 2794 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_box_mask_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_box_mask_node_options_to_inputs_animation().
|
static |
Definition at line 3254 of file versioning_450.cc.
References CMP_NODE_ALPHA_CONVERT_PREMULTIPLY, CMP_NODE_ALPHA_CONVERT_UNPREMULTIPLY, CMP_NODE_BRIGHTCONTRAST, CMP_NODE_PREMULKEY, bNode::custom1, do_version_bright_contrast_remove_premultiplied(), 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().
Referenced by do_version_bright_contrast_remove_premultiplied().
Definition at line 1606 of file versioning_450.cc.
References do_version_channel_matte_node_options_to_inputs(), 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(), and do_version_channel_matte_node_options_to_inputs().
|
static |
Definition at line 1627 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_channel_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_channel_matte_node_options_to_inputs_animation().
Definition at line 1660 of file versioning_450.cc.
References do_version_chroma_matte_node_options_to_inputs(), 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(), and do_version_chroma_matte_node_options_to_inputs().
|
static |
Definition at line 1690 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_chroma_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_chroma_matte_node_options_to_inputs_animation().
Definition at line 4001 of file versioning_450.cc.
References copy_v3_v3(), do_version_color_balance_node_options_to_inputs(), 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.
Referenced by do_version_color_balance_node_options_to_inputs().
|
static |
Definition at line 4089 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_color_balance_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_color_balance_node_options_to_inputs_animation().
|
static |
Definition at line 2394 of file versioning_450.cc.
References bNode::custom1, do_version_color_correction_node_options_to_inputs(), 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(), and do_version_color_correction_node_options_to_inputs().
|
static |
Definition at line 2596 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_color_correction_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_color_correction_node_options_to_inputs_animation().
Definition at line 1726 of file versioning_450.cc.
References do_version_color_matte_node_options_to_inputs(), 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(), and do_version_color_matte_node_options_to_inputs().
|
static |
Definition at line 1756 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_color_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_color_matte_node_options_to_inputs_animation().
Definition at line 1960 of file versioning_450.cc.
References do_version_color_spill_node_options_to_inputs(), 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(), and do_version_color_spill_node_options_to_inputs().
|
static |
Definition at line 1994 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_color_spill_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_color_spill_node_options_to_inputs_animation().
|
static |
Definition at line 3139 of file versioning_450.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), CMP_NODE_COMPOSITE, 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(), data, do_version_composite_viewer_remove_alpha(), 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, bNode::storage, bNodeSocketValueRGBA::value, and version_node_add_link().
Referenced by do_version_composite_viewer_remove_alpha().
|
static |
Definition at line 4555 of file versioning_450.cc.
References BKE_curvemapping_copy(), BKE_curvemapping_copy_data(), BKE_curvemapping_free_data(), BRUSH_JITTER_COLOR, copy_v3_v3(), Brush::curve_rand_hue, BrushGpencilSettings::curve_rand_hue, Brush::curve_rand_saturation, BrushGpencilSettings::curve_rand_saturation, Brush::curve_rand_value, BrushGpencilSettings::curve_rand_value, do_version_convert_gp_jitter_values(), Brush::flag2, Brush::gpencil_settings, Brush::hsv_jitter, is_zero_v3(), BrushGpencilSettings::random_hue, BrushGpencilSettings::random_saturation, and BrushGpencilSettings::random_value.
Referenced by do_version_convert_gp_jitter_values().
|
static |
Definition at line 192 of file versioning_450.cc.
References CD_PROP_FLOAT, CMP_NODE_COMBINE_XYZ, CMP_NODE_CURVE_VEC, CMP_NODE_MAP_RANGE, CMP_NODE_MATH, CMP_NODE_MIX_RGB, CMP_NODE_SEPARATE_XYZ, CMP_NODE_VALTORGB, CMP_NODE_VALUE, data, do_version_convert_to_generic_nodes(), bNodeSocket::identifier, LISTBASE_FOREACH, MEM_callocN(), bNodeSocket::name, blender::bke::node_find_socket(), NODE_MAP_RANGE_LINEAR, NODE_MIX_MODE_UNIFORM, bNodeTree::nodes, SH_NODE_COMBXYZ, SH_NODE_CURVE_VEC, SH_NODE_MAP_RANGE, SH_NODE_MATH, SH_NODE_MIX, SH_NODE_SEPXYZ, SH_NODE_VALTORGB, SH_NODE_VALUE, SHD_MIXRGB_CLAMP, SOCK_IN, SOCK_OUT, SOCK_RGBA, and STRNCPY().
Referenced by blo_do_versions_450(), and do_version_convert_to_generic_nodes().
|
static |
Definition at line 540 of file versioning_450.cc.
References BKE_animdata_fix_paths_rename_all_ex(), BLI_str_escape(), CMP_NODE_MAP_VALUE, do_version_convert_to_generic_nodes_after_linking(), do_version_map_value_node(), do_version_mix_color_use_alpha(), LISTBASE_FOREACH_MUTABLE, bNodeTree::nodes, SH_NODE_CURVE_VEC, and SH_NODE_MIX.
Referenced by do_version_convert_to_generic_nodes_after_linking(), and do_versions_after_linking_450().
Definition at line 3789 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, do_version_crop_node_options_to_inputs(), NodeTwoXYs::fac_x1, NodeTwoXYs::fac_x2, NodeTwoXYs::fac_y1, NodeTwoXYs::fac_y2, 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(), bNode::width, NodeTwoXYs::x1, NodeTwoXYs::x2, NodeTwoXYs::y1, and NodeTwoXYs::y2.
Referenced by do_version_crop_node_options_to_inputs().
|
static |
Definition at line 3958 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_crop_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_crop_node_options_to_inputs_animation().
Definition at line 1431 of file versioning_450.cc.
References do_version_denoise_node_options_to_inputs(), 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(), and do_version_denoise_node_options_to_inputs().
|
static |
Definition at line 1446 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_denoise_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_denoise_node_options_to_inputs_animation().
Definition at line 1377 of file versioning_450.cc.
References bNode::custom3, bNode::custom4, do_version_despeckle_node_options_to_inputs(), 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(), and do_version_despeckle_node_options_to_inputs().
|
static |
Definition at line 1398 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_despeckle_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_despeckle_node_options_to_inputs_animation().
|
static |
Definition at line 1792 of file versioning_450.cc.
References do_version_difference_matte_node_options_to_inputs(), 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(), and do_version_difference_matte_node_options_to_inputs().
|
static |
Definition at line 1816 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_difference_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_difference_matte_node_options_to_inputs_animation().
Definition at line 1180 of file versioning_450.cc.
References bNode::custom2, bNode::custom3, do_version_dilate_node_options_to_inputs(), 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(), and do_version_dilate_node_options_to_inputs().
|
static |
Definition at line 1196 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_dilate_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_dilate_node_options_to_inputs_animation().
|
static |
Definition at line 2975 of file versioning_450.cc.
References do_version_directional_blur_node_options_to_inputs(), 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.
Referenced by do_version_directional_blur_node_options_to_inputs().
|
static |
Definition at line 3025 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_directional_blur_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_directional_blur_node_options_to_inputs_animation().
|
static |
Definition at line 1849 of file versioning_450.cc.
References do_version_distance_matte_node_options_to_inputs(), 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(), and do_version_distance_matte_node_options_to_inputs().
|
static |
Definition at line 1870 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_distance_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_distance_matte_node_options_to_inputs_animation().
Definition at line 2839 of file versioning_450.cc.
References do_version_ellipse_mask_node_options_to_inputs(), 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(), and do_version_ellipse_mask_node_options_to_inputs().
|
static |
Definition at line 2871 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_ellipse_mask_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_ellipse_mask_node_options_to_inputs_animation().
Definition at line 4477 of file versioning_450.cc.
References bNode::custom1, do_version_flip_node_options_to_inputs(), ELEM, input, blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, SOCK_BOOLEAN, and SOCK_IN.
Referenced by do_version_flip_node_options_to_inputs().
Definition at line 605 of file versioning_450.cc.
References do_version_glare_node_star_45_option_to_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(), and do_version_glare_node_star_45_option_to_input().
|
static |
Definition at line 623 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_glare_node_star_45_option_to_input_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_glare_node_star_45_option_to_input_animation().
Definition at line 2243 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, do_version_id_mask_node_options_to_inputs(), 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(), and do_version_id_mask_node_options_to_inputs().
|
static |
Definition at line 2259 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_id_mask_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_id_mask_node_options_to_inputs_animation().
Definition at line 1228 of file versioning_450.cc.
References bNode::custom2, do_version_inpaint_node_options_to_inputs(), 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(), and do_version_inpaint_node_options_to_inputs().
|
static |
Definition at line 1238 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_inpaint_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_inpaint_node_options_to_inputs_animation().
Definition at line 973 of file versioning_450.cc.
References CMP_CHAN_A, CMP_CHAN_RGB, bNode::custom1, do_version_invert_node_options_to_inputs(), 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(), and do_version_invert_node_options_to_inputs().
|
static |
Definition at line 991 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_invert_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_invert_node_options_to_inputs_animation().
Definition at line 2084 of file versioning_450.cc.
References do_version_keying_node_options_to_inputs(), 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(), and do_version_keying_node_options_to_inputs().
|
static |
Definition at line 2184 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_keying_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_keying_node_options_to_inputs_animation().
Definition at line 2039 of file versioning_450.cc.
References do_version_keying_screen_node_options_to_inputs(), 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(), and do_version_keying_screen_node_options_to_inputs().
|
static |
Definition at line 2054 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_keying_screen_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_keying_screen_node_options_to_inputs_animation().
Definition at line 1306 of file versioning_450.cc.
References do_version_kuwahara_node_options_to_inputs(), 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(), and do_version_kuwahara_node_options_to_inputs().
|
static |
Definition at line 1339 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_kuwahara_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_kuwahara_node_options_to_inputs_animation().
|
static |
Definition at line 2701 of file versioning_450.cc.
References CMP_NODE_LENS_DISTORTION_HORIZONTAL, CMP_NODE_LENS_DISTORTION_RADIAL, NodeLensDist::distortion_type, do_version_lens_distortion_node_options_to_inputs(), 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(), and do_version_lens_distortion_node_options_to_inputs().
|
static |
Definition at line 2726 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_lens_distortion_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_lens_distortion_node_options_to_inputs_animation().
|
static |
Definition at line 1903 of file versioning_450.cc.
References do_version_luminance_matte_node_options_to_inputs(), 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(), and do_version_luminance_matte_node_options_to_inputs().
|
static |
Definition at line 1927 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_luminance_matte_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_luminance_matte_node_options_to_inputs_animation().
Definition at line 380 of file versioning_450.cc.
References BLI_findlink(), bNode::custom1, bNodeSocket::default_value, do_version_map_value_node(), bNode::flag, TexMapping::flag, bNodeLink::fromnode, bNodeLink::fromsock, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD_MUTABLE, TexMapping::loc, bNode::location, blender::math::max(), max, TexMapping::max, blender::math::min(), min, TexMapping::min, blender::bke::node_add_static_node(), blender::bke::node_find_socket(), NODE_HIDDEN, NODE_MATH_ADD, NODE_MATH_MAXIMUM, NODE_MATH_MINIMUM, NODE_MATH_MULTIPLY, blender::bke::node_remove_link(), blender::bke::node_remove_node(), bNode::parent, SH_NODE_MATH, SH_NODE_VALUE, TexMapping::size, SOCK_IN, SOCK_OUT, bNode::storage, TEXMAP_CLIP_MAX, TEXMAP_CLIP_MIN, version_node_add_link(), and version_socket_update_is_used().
Referenced by do_version_convert_to_generic_nodes_after_linking(), and do_version_map_value_node().
Definition at line 785 of file versioning_450.cc.
References CMP_NODE_MASK_FLAG_MOTION_BLUR, CMP_NODE_MASK_FLAG_NO_FEATHER, bNode::custom1, bNode::custom2, bNode::custom3, do_version_mask_node_options_to_inputs(), 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(), and do_version_mask_node_options_to_inputs().
|
static |
Definition at line 835 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_mask_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_mask_node_options_to_inputs_animation().
Definition at line 286 of file versioning_450.cc.
References BLI_findlink(), CMP_NODE_SEPARATE_COLOR, bNode::custom1, bNode::custom2, bNodeSocket::default_value, do_version_mix_color_use_alpha(), bNode::flag, bNodeLink::fromnode, bNodeLink::fromsock, bNode::inputs, bNodeTree::links, LISTBASE_FOREACH, bNode::location, blender::bke::node_add_static_node(), blender::bke::node_find_socket(), NODE_HIDDEN, NODE_MATH_MULTIPLY, blender::bke::node_remove_link(), bNode::parent, SH_NODE_MATH, SHD_MIXRGB_USE_ALPHA, SOCK_IN, SOCK_OUT, bNodeSocketValueFloat::value, bNodeSocketValueRGBA::value, version_node_add_link(), version_socket_update_is_used(), and bNode::width.
Referenced by do_version_convert_to_generic_nodes_after_linking(), and do_version_mix_color_use_alpha().
|
static |
Definition at line 586 of file versioning_450.cc.
References CMP_NODE_GLARE, do_version_new_glare_clamp_input(), LISTBASE_FOREACH, blender::bke::node_find_socket(), bNodeTree::nodes, SOCK_IN, and version_node_socket_is_used().
Referenced by do_version_new_glare_clamp_input(), and do_versions_after_linking_450().
|
static |
Definition at line 5276 of file versioning_450.cc.
References Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), CD_PROP_FLOAT, NodeGeometryInputNamedAttribute::data_type, do_version_node_curve_to_mesh_scale_input(), bNode::flag, NodeSwitch::input_type, LISTBASE_FOREACH, bNode::location, MEM_callocN(), blender::bke::node_find_socket(), NODE_SELECT, bNodeTree::nodes, bNode::parent, PROP_NONE, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_OUT, SOCK_STRING, bNode::storage, STREQ, STRNCPY(), 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(), and do_version_node_curve_to_mesh_scale_input().
Definition at line 1267 of file versioning_450.cc.
References bNode::custom1, do_version_pixelate_node_options_to_inputs(), 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(), and do_version_pixelate_node_options_to_inputs().
|
static |
Definition at line 1277 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_pixelate_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_pixelate_node_options_to_inputs_animation().
|
static |
Definition at line 2331 of file versioning_450.cc.
References do_version_plane_track_deform_node_options_to_inputs(), 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(), and do_version_plane_track_deform_node_options_to_inputs().
|
static |
Definition at line 2358 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_plane_track_deform_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_plane_track_deform_node_options_to_inputs_animation().
|
static |
Definition at line 4150 of file versioning_450.cc.
References do_version_replace_image_info_node_coordinates(), 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().
Referenced by do_version_replace_image_info_node_coordinates().
|
static |
Definition at line 3489 of file versioning_450.cc.
References CMP_NODE_SCALE, CMP_NODE_SCALE_RENDER_SIZE, CMP_NODE_TRANSLATE, do_version_scale_node_remove_translate(), NodeScaleData::interpolation, 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.
Referenced by do_version_scale_node_remove_translate().
Definition at line 925 of file versioning_450.cc.
References bNode::custom1, do_version_split_node_options_to_inputs(), 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(), and do_version_split_node_options_to_inputs().
|
static |
Definition at line 935 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_split_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_split_node_options_to_inputs_animation().
Definition at line 2291 of file versioning_450.cc.
References bNode::custom2, do_version_stabilize_node_options_to_inputs(), 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(), and do_version_stabilize_node_options_to_inputs().
|
static |
Definition at line 2301 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_stabilize_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_stabilize_node_options_to_inputs_animation().
Definition at line 2917 of file versioning_450.cc.
References do_version_sun_beams_node_options_to_inputs(), 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.
Referenced by do_version_sun_beams_node_options_to_inputs().
|
static |
Definition at line 2942 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_sun_beams_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_sun_beams_node_options_to_inputs_animation().
Definition at line 879 of file versioning_450.cc.
References bNode::custom1, do_version_switch_node_options_to_inputs(), 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(), and do_version_switch_node_options_to_inputs().
|
static |
Definition at line 889 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_switch_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_switch_node_options_to_inputs_animation().
Definition at line 736 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, do_version_time_curve_node_options_to_inputs(), 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(), and do_version_time_curve_node_options_to_inputs().
|
static |
Definition at line 752 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_time_curve_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_time_curve_node_options_to_inputs_animation().
Definition at line 1072 of file versioning_450.cc.
References do_version_tone_map_node_options_to_inputs(), 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(), and do_version_tone_map_node_options_to_inputs().
|
static |
Definition at line 1133 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_tone_map_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_tone_map_node_options_to_inputs_animation().
|
static |
Definition at line 3666 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, do_version_translate_node_remove_relative(), 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().
Referenced by do_version_translate_node_remove_relative().
Definition at line 1545 of file versioning_450.cc.
References do_version_vector_blur_node_options_to_inputs(), NodeBlurData::fac, input, MEM_freeN(), blender::bke::node_add_static_socket(), blender::bke::node_find_socket(), PROP_NONE, NodeBlurData::samples, SOCK_FLOAT, SOCK_IN, SOCK_INT, and bNode::storage.
Referenced by blo_do_versions_450(), and do_version_vector_blur_node_options_to_inputs().
|
static |
Definition at line 1570 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_vector_blur_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_vector_blur_node_options_to_inputs_animation().
|
static |
Definition at line 4224 of file versioning_450.cc.
References do_version_vector_sockets_dimensions(), 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.
Referenced by do_version_vector_sockets_dimensions().
Definition at line 1023 of file versioning_450.cc.
References bNode::custom1, bNode::custom2, do_version_z_combine_node_options_to_inputs(), 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(), and do_version_z_combine_node_options_to_inputs().
|
static |
Definition at line 1039 of file versioning_450.cc.
References BKE_fcurves_id_cb(), BLI_str_endswith(), BLI_str_escape(), do_version_z_combine_node_options_to_inputs_animation(), bNodeTree::id, if(), bNode::name, and FCurve::rna_path.
Referenced by do_version_z_combine_node_options_to_inputs_animation().
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 4587 of file versioning_450.cc.
References Main::actions, CMP_NODE_GLARE, do_version_convert_to_generic_nodes_after_linking(), do_version_new_glare_clamp_input(), do_versions_after_linking_450(), 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 blo_bhead_prev(), do_versions_after_linking(), and do_versions_after_linking_450().
|
static |
Definition at line 5227 of file versioning_450.cc.
References find_old_seam_layer(), CustomData::layers, and CustomData::totlayer.
Referenced by find_old_seam_layer(), and rename_mesh_uv_seam_attribute().
|
static |
Fixes situation when CurvesGeometry instance has curves with NURBS_KNOT_MODE_CUSTOM, but has no custom knots.
Definition at line 138 of file versioning_450.cc.
References CD_PROP_INT8, CustomData_get_layer_named_for_write(), fix_curve_nurbs_knot_mode_custom(), 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().
Referenced by fix_curve_nurbs_knot_mode_custom().
|
static |
Definition at line 177 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 5513 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 5237 of file versioning_450.cc.
References Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BLI_uniquename_cb(), CD_MASK_PROP_ALL, Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), Mesh::corner_data, Mesh::edge_data, Mesh::face_data, find_old_seam_layer(), CustomData::layers, LISTBASE_FOREACH, CustomDataLayer::name, rename_mesh_uv_seam_attribute(), Span< T >::Span(), STRNCPY(), CustomData::totlayer, Mesh::vert_data, and Mesh::vertex_group_names.
Referenced by rename_mesh_uv_seam_attribute().
|
static |
Definition at line 5364 of file versioning_450.cc.
References Strip::blend_mode, strip_effect_overdrop_to_alphaover(), STRIP_TYPE_ALPHAOVER, STRIP_TYPE_OVERDROP_REMOVED, and Strip::type.
Referenced by strip_effect_overdrop_to_alphaover(), and version_sequencer_update_overdrop().
|
static |
Definition at line 5453 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, SCULPT_BRUSH_TYPE_PLANE, and version_convert_sculpt_planar_brushes().
Referenced by blo_do_versions_450(), and version_convert_sculpt_planar_brushes().
|
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 3539 of file versioning_450.cc.
References BLI_string_replace_range(), and version_escape_curly_braces().
Referenced by version_escape_curly_braces(), and 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 3642 of file versioning_450.cc.
References NodeImageMultiFile::base_path, FILE_MAX, LISTBASE_FOREACH, bNodeTree::nodes, NTREE_COMPOSIT, NodeImageMultiFileSocket::path, STREQ, bNodeTree::type, version_escape_curly_braces(), and version_escape_curly_braces_in_compositor_file_output_nodes().
Referenced by version_escape_curly_braces_in_compositor_file_output_nodes().
|
static |
Definition at line 118 of file versioning_450.cc.
References data, FMODIFIER_TYPE_NOISE, LISTBASE_FOREACH, FCurve::modifiers, and version_fix_fcurve_noise_offset().
Referenced by nlastrips_apply_fcurve_versioning(), and version_fix_fcurve_noise_offset().
| void version_forward_compat_system_idprops | ( | Main * | bmain | ) |
Allow 4.5 to open 5.0+ files and recover their system-defined ID properties.
Definition at line 64 of file versioning_450.cc.
References Main::armatures, blender::seq::for_each_callback(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDP_CopyProperty_ex(), IDP_MergeGroup_ex(), LIB_ID_CREATE_NO_USER_REFCOUNT, LISTBASE_FOREACH, Main::objects, ID::properties, Main::scenes, ID::system_properties, and version_forward_compat_system_idprops().
Referenced by do_versions(), and version_forward_compat_system_idprops().
|
static |
Definition at line 5375 of file versioning_450.cc.
References blender::seq::for_each_callback(), LISTBASE_FOREACH, Main::scenes, strip_effect_overdrop_to_alphaover(), and version_sequencer_update_overdrop().
Referenced by blo_do_versions_450(), and version_sequencer_update_overdrop().
|
static |
Definition at line 5532 of file versioning_450.cc.
References Main::armatures, BLI_assert_msg, LISTBASE_FOREACH, and version_set_default_bone_drawtype().
Referenced by version_set_default_bone_drawtype().
|
static |
Definition at line 5432 of file versioning_450.cc.
References LISTBASE_FOREACH, Main::screens, SPACE_IMAGE, STREQ, SpaceImage::uv_face_opacity, and version_set_uv_face_overlay_defaults().
Referenced by blo_do_versions_450(), and version_set_uv_face_overlay_defaults().
|
static |
Definition at line 5416 of file versioning_450.cc.
References SpaceImage::flag, LISTBASE_FOREACH, Main::screens, SI_NO_DRAW_UV_GUIDE, SPACE_IMAGE, and version_show_texpaint_to_show_uv().
Referenced by blo_do_versions_450(), and version_show_texpaint_to_show_uv().