Commit: c082ebfaa5044510109c9194855be92308b6dad8 Author: Aaron Carlisle Date: Wed Dec 7 15:42:53 2022 -0600 Branches: master https://developer.blender.org/rBc082ebfaa5044510109c9194855be92308b6dad8
Compositor: Remove non operational UI property for directional blur node The wrap function was a feature of the old compositor but was never ported to the new CPP compositor node. This simply removes the unused property, the function could alternatively be restored but in has been missing for a decade so it does not seem missed. Differential Revision: https://developer.blender.org/D16712 Fixes T102796 =================================================================== M source/blender/makesdna/DNA_node_types.h M source/blender/makesrna/intern/rna_nodetree.c M source/blender/nodes/composite/nodes/node_composite_directionalblur.cc =================================================================== diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index e87adacbc9a..7764e2937b4 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -822,7 +822,7 @@ typedef struct NodeBlurData { typedef struct NodeDBlurData { float center_x, center_y, distance, angle, spin, zoom; short iter; - char wrap, _pad; + char _pad[2]; } NodeDBlurData; typedef struct NodeBilateralBlurData { diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 3e0ca04a0b2..5cb7cbd63c3 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -7800,11 +7800,6 @@ static void def_cmp_dblur(StructRNA *srna) RNA_def_property_ui_text(prop, "Iterations", ""); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); - prop = RNA_def_property(srna, "use_wrap", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "wrap", 1); - RNA_def_property_ui_text(prop, "Wrap", ""); - RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); - prop = RNA_def_property(srna, "center_x", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "center_x"); RNA_def_property_range(prop, 0.0f, 1.0f); diff --git a/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc b/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc index 452c83ef1b5..235194688de 100644 --- a/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc @@ -46,7 +46,6 @@ static void node_composit_buts_dblur(uiLayout *layout, bContext * /*C*/, Pointer uiLayout *col; uiItemR(layout, ptr, "iterations", UI_ITEM_R_SPLIT_EMPTY_NAME, nullptr, ICON_NONE); - uiItemR(layout, ptr, "use_wrap", UI_ITEM_R_SPLIT_EMPTY_NAME, nullptr, ICON_NONE); col = uiLayoutColumn(layout, true); uiItemL(col, IFACE_("Center:"), ICON_NONE); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
