forked from blender/blender
A runtime registrations for a nodes: refactoring by py script #3
Closed
Iliya Katushenock
wants to merge 3 commits from
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
mod_moder-patch-1
into main
pull from: mod_moder-patch-1
merge into: mod_moder:main
mod_moder:main
mod_moder:propagate_layer_attrs
mod_moder:dissolve_planar_edges
mod_moder:curve_plane
mod_moder:dissolve_boundary_verts
mod_moder:fix_gp_to_points_losted
mod_moder:tmp_cleanup_use_copy_for_domain_convertion
mod_moder:sample_field_node
mod_moder:cleanup_unused_var
mod_moder:refactor_instances_on_points
mod_moder:cleanup_curves_resize_code
mod_moder:cleanup_parallel_finalize
mod_moder:blur_attr_use_masks
mod_moder:tmp_refactor_mask_slicing
mod_moder:dyntopo
mod_moder:fix_becnhmark_graph_size
mod_moder:refactor_unavailable_sockets
mod_moder:fix_121110
mod_moder:deduplicate_instances_processing
mod_moder:cleanup_free_offsets
mod_moder:array_utils_new
mod_moder:tmp_branch_fields
mod_moder:mask_all_of
mod_moder:fix_attribute_propagation_in_instances_on_points
mod_moder:fix_126595
mod_moder:edge_angle_lockfree
mod_moder:shader_attribute_node
mod_moder:fix_edge_angle_tooltip_2
mod_moder:fix_124499
mod_moder:fix_node_pad
mod_moder:material_attribute
mod_moder:ico_sphere
mod_moder:refactoring_points_on_faces
mod_moder:tmp_speedup_edge_paths_to_curves
mod_moder:asset_icon_in_header
mod_moder:rot_mix3
mod_moder:radix_sort
mod_moder:input_mesh_node
mod_moder:sample_index_handle_copy
mod_moder:sample_by_id
mod_moder:blur_rotation
mod_moder:blur_matrix
mod_moder:tooltip_refactor_better_options
mod_moder:shortest_path
mod_moder:resample_edges_node
mod_moder:edge_rings
mod_moder:copy_value_node
mod_moder:tmp_unused_includes_ttt
mod_moder:tmp_optimiza_combine_matrix_node
mod_moder:binary_search
mod_moder:menu_tooltips
mod_moder:default_value_g
mod_moder:map_range_refactor
mod_moder:cacl_edge_try
mod_moder:fix_120874
mod_moder:tmp_shortest_edge_paths_index_less
mod_moder:mix_transformation
mod_moder:subtype_it_tooltip
mod_moder:implicit_input_field_tooltip
mod_moder:benchmark_no_cycle_addon
mod_moder:tmp_sort_elements_del_att
mod_moder:separate_instances
mod_moder:bits_groups
mod_moder:tmp_mesh_to_curve_re
mod_moder:context_from_domain
mod_moder:tmp_cleanup_delete_unused_namespace
mod_moder:foreach_real_range
mod_moder:copy_selected_curve_points
mod_moder:is_range_as_part_of_next_range
mod_moder:tmp_cleanup_indexmask_shift
mod_moder:tmp_join_curves
mod_moder:refactoring_enum_item_identifiers
mod_moder:tmp_refactor_enum_source
mod_moder:evaluate_on_domain_enum
mod_moder:bool_point_cloud
mod_moder:tmp_explicit_mask_copy
mod_moder:mesh_dissolve
mod_moder:new_ico_sphere_alg
mod_moder:flat_ico_sphere
mod_moder:tmp_rot_accum
mod_moder:tmp_realize_instances
mod_moder:tmp_speedup_topo_build_again
mod_moder:refactoring_declaration_in_function_nodes
mod_moder:group_viewer_branch
mod_moder:merge_geometry
mod_moder:jagged_field
mod_moder:fix_curve_set_h_t_c
mod_moder:replace_faces
mod_moder:set_socekt_test
mod_moder:tmp_test_enum_string
mod_moder:benchmark_all_sorts_in_groups
mod_moder:tmp_fix_object_mat_count
mod_moder:tmp_fix_points_of_curve
mod_moder:cleanup_node_cpp
mod_moder:tmp_expremental_viewer_group
mod_moder:group_deduce
mod_moder:tmp_fix_inst_size_rad
mod_moder:tmp_fix_rewrite_builtin_attr
mod_moder:tmp_add_local_groups_separator
mod_moder:tmp_fix_link_index_update
mod_moder:resample_topology
mod_moder:index_map
mod_moder:mod_moder-patch-2
mod_moder:cleanup_split_node_drawing
mod_moder:make_zone_transparent
mod_moder:fix_unsized_shared
mod_moder:tmp_cleanup_2-5_cpp
mod_moder:tmp_type_lists
mod_moder:alternate_benchmark
mod_moder:std_cb_n_for_mask_generics
mod_moder:shift_for_curve
mod_moder:cleanup_generic_selections
mod_moder:group_declaration_geo_sup
mod_moder:tmp_more_parallel_node_topology_cache
mod_moder:fix_dont_relate_linked_sockets
mod_moder:tmp_skip_socket_update
mod_moder:try_1
mod_moder:tmp_fix_link_validation
mod_moder:instances
mod_moder:for_component_new
mod_moder:tmp_fix_get_eval_mesh_from_curves_too
mod_moder:tmp_fix_text_cursor_transform
mod_moder:cone_refactoring
mod_moder:affinity_test
mod_moder:interpolate_meshes_texture_spaces
mod_moder:sample_random_index
mod_moder:more_lazynes_capture_attribute_node
mod_moder:dont_forward_input_value_if_unused
mod_moder:tmp_unused_outputs
mod_moder:nested_instances
mod_moder:fill_curve_propagate_attributes
mod_moder:unified_common_geometry_node_props
mod_moder:geometry_output_index
mod_moder:tmp-volume-matrix-api-update
mod_moder:tmp-eevee-shadow-commit-mp
mod_moder:temp-nodes-group-declarations
mod_moder:refactor-mesh-sharp-edge-generic
mod_moder:temp-asset-library-all
mod_moder:refactor-mesh-uv-map-generic
mod_moder:refactor-mesh-position-generic
mod_moder:temp-T102440
mod_moder:temp-rbf-pose-blender
mod_moder:geometry-nodes-tetrahedralization
mod_moder:nodes-matrix-types
mod_moder:temp-xr-painting
mod_moder:blender-v3.4-release
mod_moder:geometry-nodes-simulation
mod_moder:bli-matrix-template
mod_moder:temp-linux-35x-libs
mod_moder:refactor-mesh-corner-normals-lazy
mod_moder:temp-py-gpubatch-draw-advanced
mod_moder:xr-dev
mod_moder:temp-vulkan-shader
mod_moder:bevelv2
mod_moder:soc-2022-soft-bodies
mod_moder:arcpatch-D16436
mod_moder:tmp-dynamic-usd
mod_moder:temp-image-engine
mod_moder:tmp-vfx-platform-2023
mod_moder:soc-2022-many-lights-sampling
mod_moder:tracking_tools
mod_moder:nla-scale-fix
mod_moder:principled-v2
mod_moder:temp-ui-cpp
mod_moder:temp-ghost-vulkan
mod_moder:tmp-libs-2.93-lts
mod_moder:temp-T97352-3d-texturing-seam-bleeding-b2
mod_moder:temp-xr-virtual-camera-experiment
mod_moder:temp-vse-retiming-tool
mod_moder:gpencil-next
mod_moder:temp-sculpt-brush-channel
mod_moder:asset-browser-grid-view
mod_moder:temp-asset-representation
mod_moder:temp-gpencil-automask
mod_moder:tmp_libs_34
mod_moder:temp-T101905-gpu-backend-argument
mod_moder:node-add-asset-menu
mod_moder:temp-collection-objects-link-multiple
mod_moder:temp-texture-painting-gpu
mod_moder:overlay-next
mod_moder:tmp-workbench-perf-experiment
mod_moder:tmp_usd_import_unbound_mtls
mod_moder:tmp-drw-split-matrix
mod_moder:temp-sculpt-normals-masking
mod_moder:temp-sculpt-cavity-mask
mod_moder:temp-pbvh-vbos
mod_moder:tmp-usd-alab-v2-T100452
mod_moder:refactor-mesh-selection-generic
mod_moder:temp-T96708-brush-texture-refactoring
mod_moder:temp-chunk-list
mod_moder:feature-imformat
mod_moder:temp-geometry-nodes-evaluator-refactor
mod_moder:refactor-mesh-bevel-weight-generic
mod_moder:temp-chunked-list
mod_moder:temp-outliner-new-element-storage
mod_moder:refactor-mesh-remove-pointers
mod_moder:soc-2022-text-usability
mod_moder:refactor-mesh-material-index-generic
mod_moder:drw-manager-next
mod_moder:refactor-mesh-hide-generic
mod_moder:blender-v3.2-release
mod_moder:sculpt_curve_collisions
mod_moder:temp-anim-editors-redo-panel-D14960-D14977
mod_moder:retopo_transform
mod_moder:temp-libepoxy
mod_moder:temp-T99046-platform-reference-images
mod_moder:geometry-nodes-rigid-body-integration
mod_moder:file-browser-grid-view
mod_moder:temp-legacy-mesh-format-option
mod_moder:arcpatch-D14645
mod_moder:soc-2022-waveform-drawing
mod_moder:temp-T95933-object-mode-curve-selection
mod_moder:temp-deform-curves-on-surface
mod_moder:cycles_oneapi
mod_moder:temp-viewport-compositor-merge
mod_moder:temp-texpaint-automasking
mod_moder:temp-deform-curves-with-surface
mod_moder:asset-greasepencil
mod_moder:temp-T99046-render-test-increase-fail-threshold
mod_moder:temp-T98708-gpu-conservative-depth
mod_moder:lineart-shadow
mod_moder:temp-lineart-contained
mod_moder:cleanup-id-override-const
mod_moder:temp-T98375-share-gpu-textures
mod_moder:wintab
mod_moder:temp-T97352-3d-texturing-seam-bleeding
mod_moder:temp-T97905-compositor-meta-data
mod_moder:lineart-cas-2
mod_moder:temp-T97272
mod_moder:temp-T97907-compositor-meta-data
mod_moder:temp-T96952
mod_moder:tmp-usd-mak-c87f6242
mod_moder:temp-outliner-library-override-hierarchy
mod_moder:lineart-object-load
mod_moder:tmp-eevee-next-merge
mod_moder:draw-deferred-compilation-experiment
mod_moder:soc-2021-porting-modifiers-to-nodes-remesh-voxel
mod_moder:tmp_lib_update_32
mod_moder:temp-mesh-cpp
mod_moder:temp-viewport-compositor-compiler
mod_moder:temp-T96710-pbvh-pixels
mod_moder:tmp-new-gpu-codegen
mod_moder:devirtualizer
mod_moder:temp-T96709-painting-target
mod_moder:temp-collection-assets
mod_moder:temp-lineart-embree
mod_moder:temp-multi-function-eval-varray
mod_moder:temp-sculpt-colors
mod_moder:soc-2021-curves
mod_moder:blender-v3.1-release
mod_moder:temp-vertex-paint
mod_moder:temp-vse-channels-edge-panning
mod_moder:eevee-rewrite
mod_moder:temp-library-overrides-outliner
mod_moder:cycles_hydra
mod_moder:temp-3d-texturing-brush-b
mod_moder:temp-abc-features
mod_moder:tmp-transform-navigate
mod_moder:temp-image-buffer-rasterizer
mod_moder:soc-2021-porting-modifiers-to-nodes-remesh-blocks
mod_moder:temp-3d-texture-brush-prototype
mod_moder:temp-fix-normals-custom-data
mod_moder:viewport-compositor
mod_moder:bli-math-basic-types
mod_moder:soc-2021-simulation-display
mod_moder:greasepencil-object
mod_moder:temp-license-header-spdx
mod_moder:KTX_support
mod_moder:gsoc-2021-porting-modifiers-to-nodes-solidify
mod_moder:2d
mod_moder:gltf_vtree
mod_moder:soc-2021-porting-modifiers-to-nodes-decimate
mod_moder:temp-T95279-remap-referenced-data
mod_moder:temp-gpu-image-engine
mod_moder:tmp-eevee-rewrite-compilation-error
mod_moder:draw-viewport-data
mod_moder:temp-T94900-b
mod_moder:temp-T94900-gpu-viewport-default-layers
mod_moder:temp-T94185-id-remapper-ui
mod_moder:tmp-workbench-shader-create-infos
mod_moder:blender-v3.0-release
mod_moder:temp-geometry-nodes-extrude-mesh
mod_moder:tmp-T95052
mod_moder:tmp-gpu-polyline-shaders
mod_moder:tmp-gpu-shader-descriptor-2
mod_moder:temp-usd-prev-export2
mod_moder:tmp-core-id-remap-test-cases
mod_moder:temp-vert-normals-cleanup
mod_moder:temp-move-geometry-to-cpp
mod_moder:tmp-vector-template
mod_moder:drw-gpu-wrapper
mod_moder:temp-geometry-nodes-extrude-and-scale
mod_moder:temp-scale-elements-node-test
mod_moder:temp-usd-udim-import
mod_moder:temp-copy-on-write
mod_moder:temp-T94185-id_remapping-experiment-a
mod_moder:temp-llvm-testing
mod_moder:nurbs-opencascade
mod_moder:temp-usd-preview-surf-export
mod_moder:soc-2021-uv-edge-select-support
mod_moder:T93558
mod_moder:temp-gpu-texture-partial-updates
mod_moder:gpu-shader-descriptor
mod_moder:temp-geometry-nodes-text
mod_moder:tmp-vulkan
mod_moder:temp-T90535-usd-alab-material-import
mod_moder:node-tree-update-refactor
mod_moder:temp-sample-sound-node
mod_moder:temp-interface-region-search-cpp
mod_moder:temp-enum-socket
mod_moder:temp-link-portals
mod_moder:temp-unity-build-test
mod_moder:geometry-nodes-level-set-nodes
mod_moder:temp-virtual-array-value-type
mod_moder:soc-2020-io-performance
mod_moder:studio-sprite-fright
mod_moder:temp-cycles-source-reorganize
mod_moder:asset-browser-snap-dragging
mod_moder:temp-python-zstandard
mod_moder:soc-2021-porting-modifiers-to-nodes-merge-by-distance
mod_moder:temp-compositor-cleanups
mod_moder:temp-eevee-gpencil-rewrite
mod_moder:temp-vse-handles
mod_moder:temp-ui-tweaks
mod_moder:xr-controller-support
mod_moder:temp-node-common-cpp
mod_moder:temp-varray-get-set-multiple
mod_moder:soc-2021-uv-editor-improvements
mod_moder:temp-geometry-nodes-output-attributes
mod_moder:soc-2021-knife-tools
mod_moder:temp_test_sc_keymap
mod_moder:cycles-x
mod_moder:temp-field-visualization
mod_moder:soc-2021-curve-fillet
mod_moder:temp_bmesh_multires
mod_moder:temp-cocoa-scroll-acceleration-fix
mod_moder:temp-socket-decl-refactor
mod_moder:fluid-mantaflow-gpu
mod_moder:soc-2021-vse-strip-thumbnails
mod_moder:temp-noise-nodes-cpp
mod_moder:temp-compositor-canvas
mod_moder:T90952
mod_moder:temp-parallel-multi-function
mod_moder:temp-geometry-nodes-fields
mod_moder:grab_walk_fix
mod_moder:soc-2021-adaptive-cloth
mod_moder:temp-geometry-nodes-fields--fields-jacques
mod_moder:temp-cpp-ghc-filesystem
mod_moder:temp-geometry-nodes-fields--fields
mod_moder:temp-geometry-nodes-fields--anonymous-attributes
mod_moder:refactor-idprop-ui-data
mod_moder:compositor-full-frame
mod_moder:temp-runtime-node-def
mod_moder:temp-geometry-nodes-fields-prototype-visualization
mod_moder:temp-geometry-nodes-fields-prototype
mod_moder:temp-multi-function-procedure
mod_moder:soc-2021-porting-modifiers-to-nodes_all
mod_moder:cycles_texture_cache
mod_moder:experimental-build
mod_moder:cycles_procedural_api
mod_moder:soc-2021-porting-modifiers-to-nodes-extrude-and-move
mod_moder:soc-2021-porting-modifiers-to-nodes-extrude
mod_moder:temp-geometry-nodes-expandable-geometry-socket-prototype
mod_moder:fluid-mantaflow-2d
mod_moder:windows_make_docpy
mod_moder:usd-importer-T81257-merge
mod_moder:nodes-update-readonly-tag
mod_moder:geometry-nodes-closest-points
mod_moder:tmp-buildbot-gcc-10
mod_moder:soc-2021-geometry-nodes-regression-test
mod_moder:node-group-single-socket-nodes
mod_moder:curve-nodes-modifier
mod_moder:temp-geometry-nodes-curve-sample
mod_moder:geometry-nodes-unnamed-attributes
mod_moder:temp-nodes-intersect-alt-key
mod_moder:tmp_arcpath-D11868
mod_moder:refactor-vertex-group-names
mod_moder:temp-gpencil-bezier-stroke-type
mod_moder:temp-gpu-uniform-builtin-structs
mod_moder:wintab_fallback_walknav
mod_moder:temp-socket-inspection
mod_moder:temp-long-link-dimming
mod_moder:fixed_width_integers
mod_moder:lineart-bvh
mod_moder:temp-gpencil-camera-reproject
mod_moder:temp-gpu-push-constants
mod_moder:temp-attribute-processor
mod_moder:temp-cpp-type-cleanup
mod_moder:temp-geometry-nodes-curve-deform-node
mod_moder:wintab-logging
mod_moder:fix-tablet-walk
mod_moder:geometry-nodes-raycast
mod_moder:temp-spreadsheet-row-filter
mod_moder:lineart-fn-cached
mod_moder:temp-compact-node-prototype
mod_moder:asset-browser
mod_moder:geometry-nodes-curve-to-points-node
mod_moder:node-editor-edge-pan
mod_moder:eevee-gpencil
mod_moder:asset-system-filelist
mod_moder:temp-geometry-nodes-viewer-node
mod_moder:lineart-fn-thread-loading
mod_moder:tmp-buildbot-cleanup
mod_moder:temp-gpencil-masking
mod_moder:temp-ffmpeg-4.4
mod_moder:temp-attributes-panel
mod_moder:profiler-editor
mod_moder:FixT87160_DSE_Channel_Selection
mod_moder:temp-interface-cpp
mod_moder:geometry-nodes-curve-support
mod_moder:info-editor-cpp
mod_moder:temp-attribute-transfer-node
mod_moder:virtual-array-attributes
mod_moder:temp-pose-slide-D9054
mod_moder:spreadsheet-active-node
mod_moder:ui-asset-view-template
mod_moder:temp-node-tree-pages-prototype
mod_moder:override-outliner-view
mod_moder:temp-geometry-nodes-processor-prototype
mod_moder:temp-any-instead-of-variant
mod_moder:temp-unreachable-abort
mod_moder:temp-spreadsheet-instances
mod_moder:temp-geometry-nodes-instances-api-v2
mod_moder:temp-geometry-nodes-instances-attributes
mod_moder:geometry-nodes-mesh-primitives
mod_moder:temp-asset-tools-prototype
mod_moder:temp-geometry-nodes-mesh-primitive-line
mod_moder:lanpr-under-gp
mod_moder:temp_D10504-2_nla_keyframe_remap_upper_strips
mod_moder:blender-v2.92-release
mod_moder:usd-importer-T81257
mod_moder:temp-spreadsheet-editor-python-prototyping
mod_moder:temp-spreadsheet-editor
mod_moder:override-refactor-tmp-2
mod_moder:temp-derived-node-tree-refactor
mod_moder:T85799
mod_moder:tracking_scopes
mod_moder:temp-icons-fixes
mod_moder:temp_D10504_nla_keyframe_remap_upper_strips
mod_moder:temp-weight_mirror
mod_moder:temp_T76472_graph_editor_fcurve_extrapolation
mod_moder:eevee-closure-lib-cleanup
mod_moder:eevee-dof-refactor
mod_moder:eevee-probe-roughness-fix
mod_moder:eevee-ggx-lut-fix
mod_moder:df0bce3f7d0
mod_moder:temp-geometry-nodes-instances-api
mod_moder:tmp-ocio-v2
mod_moder:temp-nodes-redesign
mod_moder:tracking_proportional_editing_v2
mod_moder:blender-v2.91-release
mod_moder:temp-uv-face-select-no-thresh-when-inside
mod_moder:temp-D10103-nla_support_strip_overlap_during_transform
mod_moder:fracture_modifier
mod_moder:temp-point-distribution-refactor-experiment
mod_moder:temp-experimental-cpp-math-refactor
mod_moder:vfx-clip-ui-update
mod_moder:tmp-T82230-nla_remove_hold_reset_behavior
mod_moder:temp-D8687-directly_select_fcurves
mod_moder:geometry-nodes
mod_moder:soc-2020-testing-frameworks
mod_moder:geometry-nodes-point-separate-node
mod_moder:temp-nla-strip-alignment
mod_moder:temp-atomics-int16
mod_moder:geometry-nodes-deduplicate-float-math
mod_moder:asset-metadata
mod_moder:geometry-nodes-active-modifier-drawing
mod_moder:attribute-accessor
mod_moder:geometry-nodes-attribute-nodes
mod_moder:temp-T82588-box-select-invisible-keys
mod_moder:greasepencil-edit-curve
mod_moder:codesign_error_tracker
mod_moder:outliner-cpp-refactor
mod_moder:temp-fix-headerless-panels-switch-windows
mod_moder:temp-gpencil-fading-modifier
mod_moder:temp-D8915-copy-rotation-remove-sheer
mod_moder:geometry-nodes-boolean-node
mod_moder:temp-T81874-box-select-active-keyframe
mod_moder:geometry-nodes-transform-node
mod_moder:temp-trimesh-sculpt
mod_moder:geometry-tree-evaluation
mod_moder:fcurve-modifier-panels
mod_moder:temp-fcurve-key-insert-follow-curve
mod_moder:temp-fcurve-active-keyframe-D7737
mod_moder:mesh-to-volume-modifier
mod_moder:blender-v2.90-release
mod_moder:soc-2020-fluid-tools
mod_moder:property-search-ui-v2
mod_moder:tmp-T80603
mod_moder:soc-2020-greasepencil-curve
mod_moder:tmp-gldebuglayer
mod_moder:tmp-gltexture
mod_moder:soc-2020-custom-menus
mod_moder:active-fcurve-keyframe
mod_moder:soc-2020-soft-body
mod_moder:newboolean
mod_moder:fail-on-memleak
mod_moder:soc-2020-outliner
mod_moder:soc-2020-production-ready-light-tree-2
mod_moder:soc-2020-info-editor
mod_moder:property-search-ui
mod_moder:temp-ui-button-type-refactor
mod_moder:soc-2020-production-ready-light-tree
mod_moder:particle-solver-dev
mod_moder:tmp-gpu-context-isolation
mod_moder:soc-2020-xr-input
mod_moder:temp-remesh-octree
mod_moder:mac_arm64
mod_moder:tmp-eevee-glsl-cleanup
mod_moder:tmp-pointcloud-render
mod_moder:buildbot-lts
mod_moder:asset-engine--archived
mod_moder:asset-uuid--archived
mod_moder:eevee-motionblur-object
mod_moder:modifier-panels-ui
mod_moder:temp-cycles-tbb
mod_moder:wm-drag-drop-rewrite
mod_moder:temp-lanpr-review
mod_moder:gsoc-2018-many-light-sampling
mod_moder:tmp-eevee-material-refactor
mod_moder:tmp-widget-opti
mod_moder:tmp-texture-sampler
mod_moder:xr-world-navigation
mod_moder:blender-v2.82-release
mod_moder:node-tree-ref
mod_moder:simulation-access-modifier
mod_moder:blenloader-decentralization
mod_moder:temp-test-point-cloud-simulation-depsgraph-integration
mod_moder:functions
mod_moder:builtin-simulation-nodes
mod_moder:performance-test
mod_moder:obj-import-experiments
mod_moder:soc-2019-openxr
mod_moder:vr_scene_inspection
mod_moder:blenloader-api
mod_moder:tmp-workbench-rewrite
mod_moder:id-ensure-unique-memory-address
mod_moder:simulation-tree
mod_moder:greasepencil-refactor
mod_moder:draw-colormanagement
mod_moder:temp-gizmo-decoupled-redraws
mod_moder:fluid-mantaflow
mod_moder:blender-v2.81-release
mod_moder:tmp-overlay-engine
mod_moder:soc-2019-bevel-profiles
mod_moder:temp-npr-gpencil-modifiers
mod_moder:soc-2019-npr
mod_moder:temp-gpencil-drw-engine
mod_moder:soc-2019-embree-gpu
mod_moder:temp-npr-smooth-contour
mod_moder:temp-lanpr-staging
mod_moder:filebrowser_redesign
mod_moder:tmp-eevee-shadowmap-refactor
mod_moder:vamr-openxr-module
mod_moder:sculpt-mode-features
mod_moder:soc-2019-adaptive-cloth
mod_moder:tmp-drw-callbatching
mod_moder:soc-2019-outliner
mod_moder:soc-2019-cycles-procedural
mod_moder:temp-D5423-update
mod_moder:temp-vr-draw-thread
mod_moder:tmp-batch-cache-cleanup
mod_moder:soc-2019-fast-io
mod_moder:temp-toolsystem-multiwindow
mod_moder:blender2.7
mod_moder:collada
mod_moder:soc-2018-npr
mod_moder:temp-keymap-industry-compat
mod_moder:temp-fracture-modifier-2.8
mod_moder:temp-dna-rename
mod_moder:userpref_redesign
mod_moder:hair_object
mod_moder:motion_curve_fix
mod_moder:collada2.8
mod_moder:cycles_embree
mod_moder:interactive_physics
mod_moder:temp-ui-layout-2.8
mod_moder:cloth-improvements
mod_moder:soc-2018-cycles-volumes
mod_moder:hair_guides_grooming
mod_moder:hair_guides
mod_moder:benchmark
mod_moder:soc-2018-bevel
mod_moder:soc-2018-hair-shader-fixes
mod_moder:temp-udim-images
mod_moder:soc-2018-hair-shader
mod_moder:temp-volume-object
mod_moder:cycles_cryptomatte
mod_moder:temp-eeveelightcache
mod_moder:temp-tab_drag_drop
mod_moder:temp-keymap-save
mod_moder:temp-dynamic-overrides
mod_moder:fracture_modifier-master
mod_moder:ui_layout_gridflow
mod_moder:temp-keymap-changes
mod_moder:tmp-CollectionsAnim
mod_moder:tmp-b28-motionpath-drawing
mod_moder:uv_unwrapping_slim_algorithm
mod_moder:blender-v2.79b-release
mod_moder:tmp-COW_InsertKeyframe_Fix
mod_moder:temp-unified-collections
mod_moder:temp-modifier-rm-cddm
mod_moder:tmp-TimelineHeaderButtonsStretching
mod_moder:blender2.8-workbench
mod_moder:soc-2017-normal-tools
mod_moder:cycles_bvh8
mod_moder:blender-v2.79a-release
mod_moder:temp-scene-obedit-remove
mod_moder:temp-workspace-object-mode-removal
mod_moder:blender-v2.79-release
mod_moder:soc-2017-sculpting_brush
mod_moder:split-kernel-faster-building
mod_moder:id_override_static
mod_moder:openvdb
mod_moder:custom-manipulators
mod_moder:soc-2016-uv_tools
mod_moder:soc-2016-pbvh-painting
mod_moder:soc-2017-vertex_paint
mod_moder:soc-2017-sculpting_improvements
mod_moder:soc-2017-package_manager
mod_moder:strand_editmode
mod_moder:smooth-fcurves
mod_moder:id_copy_refactor
mod_moder:gsoc2016-improved_extrusion
mod_moder:temp-ssr
mod_moder:temp-cycles-opencl-staging
mod_moder:temp-cycles-denoising
mod_moder:ge_2df_textures
mod_moder:HMD_viewport
mod_moder:soc-2016-multiview
mod_moder:transform-manipulators
mod_moder:datablock_idprops
mod_moder:cycles_disney_brdf
mod_moder:temp_cycles_split_kernel
mod_moder:cycles_split_kernel
mod_moder:unlock_task_scheduler
mod_moder:uv_unwrapping_slim_and_ceres
mod_moder:surface-deform-modifier
mod_moder:cycles-tiles-rework
mod_moder:soc-2016-cycles_denoising
mod_moder:temp-layers-ui-table
mod_moder:uiTable
mod_moder:render-layers
mod_moder:clay-engine
mod_moder:multi_previews_id
mod_moder:cycles_disney_bsdf_transmittance
mod_moder:layers
mod_moder:pbr-viewport
mod_moder:temp_display_optimization
mod_moder:viewport_bvh_select
mod_moder:temp-cycles-microdisplacement
mod_moder:soc-2016-cycles_images
mod_moder:strand_nodes
mod_moder:object_nodes
mod_moder:asset-experiments
mod_moder:soc-2016-sculpt_tools
mod_moder:temp_viewport_fx_merge
mod_moder:custom-normals-bmesh
mod_moder:temp-decklink
mod_moder:compositor-2016
mod_moder:decklink
mod_moder:BendyBones
mod_moder:cycles_panorama_experiments
mod_moder:temp_remove_pointcache
mod_moder:temp_remove_particles
mod_moder:temp_depsgraph_split_ubereval
mod_moder:temp_textedit_comment_toggling
mod_moder:GPencil_Editing_Stage3
mod_moder:temp_bge_moto
mod_moder:UI-experiments
mod_moder:UI-graphical-redesign
mod_moder:missing-libs
mod_moder:free-refcount-ids
mod_moder:cycles_camera_nodes
mod_moder:epic-navigation
mod_moder:temp-ui-widget-refactor
mod_moder:gooseberry_farm
mod_moder:gooseberry
mod_moder:temp-ghash-experiments
mod_moder:temp-ghash-setops
mod_moder:temp_motionpaths
mod_moder:fcurves-simplify
mod_moder:soc-2014-fluid
mod_moder:GPU_data_request
mod_moder:depsgraph_refactor
mod_moder:multiview
mod_moder:vertex_paint_pbvh
mod_moder:alembic_pointcache
mod_moder:cycles-ptex-49
mod_moder:viewport_experiments
mod_moder:soc-2014-bge
mod_moder:texture_nodes_refactor
mod_moder:input_method_editor
mod_moder:GPencil_EditStrokes
mod_moder:soc-2014-shapekey
mod_moder:terrible_consequencer
mod_moder:GPencil_FillStrokes
mod_moder:libmv_prediction
mod_moder:blender2.4
mod_moder:dyntopo_holes
mod_moder:soc-2014-viewport_context
mod_moder:gtest-staging
mod_moder:blender-tiles
mod_moder:soc-2014-viewport_fx
mod_moder:soc-2014-remesh
mod_moder:soc-2014-nurbs
mod_moder:pie-menus
mod_moder:soc-2014-cycles
mod_moder:soc-2013-paint
mod_moder:particles_refactor
mod_moder:soc-2013-viewport_fx
mod_moder:tiles-scheduler
mod_moder:bake-cycles
mod_moder:soc-2013-cycles_volume
mod_moder:overscan
mod_moder:soc-2013-depsgraph_mt
mod_moder:soc-2013-dingto
mod_moder:soc-2013-sketch_mesh
mod_moder:soc-2013-rigid_body_sim
mod_moder:soc-2011-tomato
mod_moder:soc-2013-bge
mod_moder:soc-2013-motion_track
mod_moder:soc-2013-ui_replay
mod_moder:soc-2012-sushi
mod_moder:ge_dev
mod_moder:soc-2013-depsgraph_eval
mod_moder:soc-2008-mxcurioni
mod_moder:soc-2012-bratwurst
mod_moder:soc-2012-swiss_cheese
mod_moder:soc-2012-fried_chicken
mod_moder:meshdata_transfer
mod_moder:smoke2
mod_moder:tile
mod_moder:soc-2011-cucumber
mod_moder:bmesh
mod_moder:soc-2011-carrot
mod_moder:cycles
mod_moder:soc-2011-garlic
mod_moder:soc-2011-radish
mod_moder:soc-2010-nicks
mod_moder:vgroup_modifiers
mod_moder:soc-2011-pepper
mod_moder:soc-2010-jwilkins
mod_moder:merwin-spacenav
mod_moder:bge_components
mod_moder:soc-2010-merwin
mod_moder:render25
mod_moder:soc-2010-nicolasbishop
mod_moder:soc-2009-chingachgook
mod_moder:soc-2010-nexyon
mod_moder:soc-2010-aligorith
mod_moder:ge_eigen2
mod_moder:sculpt25
mod_moder:soc-2009-jaguarandi
mod_moder:soc-2009-imbusy
mod_moder:soc-2009-kazanbas
mod_moder:blender2.5
mod_moder:volume25
mod_moder:soundsystem
mod_moder:soc-2009-aligorith
mod_moder:sim_physics
mod_moder:ge_dome
mod_moder:etch-a-ton
mod_moder:soc-2008-nicholasbishop
mod_moder:projection-paint
mod_moder:harmonic-skeleton
mod_moder:soc-2008-jaguarandi
mod_moder:fluidcontrol
mod_moder:apricot
mod_moder:soc-2008-quorn
mod_moder:cloth
mod_moder:ndof
mod_moder:orange
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 94 additions and 0 deletions
94
pars_files.py
Normal file
94
pars_files.py
Normal file
|
@ -0,0 +1,94 @@
|
|||
from os import walk
|
||||
|
||||
lines = open(r"F:\Blender_build\first\blender\source\blender\nodes\NOD_static_types.h").readlines()
|
||||
|
||||
def nodes_functions(type):
|
||||
result = []
|
||||
for line in lines:
|
||||
line = line.strip()
|
||||
if line.startswith("DefNode(" + type):
|
||||
args_line = line.removeprefix("DefNode(" + type).removesuffix(")")
|
||||
args = args_line.split(",", -1)
|
||||
if args[2].strip() != "0":
|
||||
result.append({"ID" : args[1].strip(), "reg" : args[2].strip()})
|
||||
return result
|
||||
|
||||
nodes = nodes_functions("GeometryNode")
|
||||
|
||||
#print(nodes)
|
||||
|
||||
directory = r"F:\Blender_build\first\blender\source\blender\nodes"
|
||||
|
||||
def node_files(type):
|
||||
result = []
|
||||
|
||||
nodes_directory = directory + "\\" + type + "\\nodes"
|
||||
for (dirpath, dirnames, filenames) in walk(nodes_directory):
|
||||
for node_file in filenames:
|
||||
result.append({"name" : node_file})
|
||||
return {"directory" : nodes_directory, "files" : result}
|
||||
|
||||
files = node_files("geometry")
|
||||
|
||||
#print(files)
|
||||
|
||||
def file_by_node_id(files):
|
||||
result = {}
|
||||
for node in nodes:
|
||||
node_id = node["ID"]
|
||||
def id_in_file(file) :
|
||||
data = open(files["directory"] + "\\" + file).read()
|
||||
return node_id + "," in data
|
||||
|
||||
imp_files = [file for file in files["files"] if id_in_file(file["name"])]
|
||||
|
||||
if len(imp_files) == 1:
|
||||
result[node_id] = {"File": imp_files[0]["name"]}
|
||||
return result
|
||||
|
||||
node_files = file_by_node_id(files)
|
||||
|
||||
#print(node_files)
|
||||
|
||||
def node_reg_functions(nodes):
|
||||
nodes_reg = open(r"F:\Blender_build\first\blender\source\blender\makesrna\intern\rna_nodetree.cc").read()
|
||||
static_void_functions = nodes_reg.split("static void")
|
||||
result = {}
|
||||
for node in nodes:
|
||||
node_id = node["ID"]
|
||||
function_body = [func for func in static_void_functions if node["reg"] + "(" in func]
|
||||
if len(function_body) == 1:
|
||||
function = "static void" + function_body[0]
|
||||
result[node["ID"]] = {"Function" : function}
|
||||
return result
|
||||
|
||||
node_regs = node_reg_functions(nodes)
|
||||
|
||||
#print(result)
|
||||
|
||||
for node in nodes:
|
||||
node_id = node["ID"]
|
||||
node_reg_func_name = node["reg"]
|
||||
node_file = node_files[node_id]["File"]
|
||||
node_reg_func = node_regs[node_id]["Function"]
|
||||
|
||||
if "RNA_def_property_enum_funcs" in node_reg_func:
|
||||
continue
|
||||
|
||||
impl_file_path = files["directory"] + "\\" + node_file
|
||||
|
||||
file = open(impl_file_path, 'r').read()
|
||||
|
||||
reg_func_to_rep = "static void node_register()"
|
||||
node_reg_fixed = node_reg_func.replace(node_reg_func_name, "node_rna")
|
||||
fixed_body = file.replace(reg_func_to_rep, node_reg_fixed + reg_func_to_rep)
|
||||
|
||||
node_reg_type = "nodeRegisterType(&ntype);"
|
||||
fixed_decl = fixed_body.replace(node_reg_type, node_reg_type + '\n' + " node_rna(ntype.rna_ext.srna);")
|
||||
|
||||
node_add_include = "#include \"UI_interface.hh\""
|
||||
fixed_include = fixed_decl.replace(node_add_include, "#include \"NOD_rna_define.hh\"" + '\n\n' + node_add_include)
|
||||
|
||||
node_update = open(impl_file_path, 'w')
|
||||
node_update.write(fixed_include)
|
||||
node_update.close()
|
Write
Preview
Loading…
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.