diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-07 04:07:44 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-07 04:07:44 +0300 |
commit | b8d986451805f324b0ba98f4b57b4cf89cee04ed (patch) | |
tree | 9c06546d6b75ab2ed36cf567ce343dfa56e1854c /source/blender/editors/interface/interface_ops.cc | |
parent | 9c4c9a889de6d25147efac33b9de8086f9c56951 (diff) |
Cleanup: remove unused Main argument to RNA_path functions
Note that lib_override functions have kept the unused argument,
but this may be removed too. It impacts many lib_override functions
so this can be handled separately.
Diffstat (limited to 'source/blender/editors/interface/interface_ops.cc')
-rw-r--r-- | source/blender/editors/interface/interface_ops.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_ops.cc b/source/blender/editors/interface/interface_ops.cc index a42e08c59d5..a5b0193a86d 100644 --- a/source/blender/editors/interface/interface_ops.cc +++ b/source/blender/editors/interface/interface_ops.cc @@ -133,10 +133,10 @@ static int copy_data_path_button_exec(bContext *C, wmOperator *op) if (ptr.owner_id != nullptr) { if (full_path) { if (prop) { - path = RNA_path_full_property_py_ex(bmain, &ptr, prop, index, true); + path = RNA_path_full_property_py_ex(&ptr, prop, index, true); } else { - path = RNA_path_full_struct_py(bmain, &ptr); + path = RNA_path_full_struct_py(&ptr); } } else { |