diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/include/UI_interface.hh | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_view.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/UI_interface.hh b/source/blender/editors/include/UI_interface.hh index 3dc56b01993..a27edb54c0f 100644 --- a/source/blender/editors/include/UI_interface.hh +++ b/source/blender/editors/include/UI_interface.hh @@ -59,7 +59,7 @@ void attribute_search_add_items( blender::ui::AbstractGridView *UI_block_add_view( uiBlock &block, blender::StringRef idname, - std::unique_ptr<blender::ui::AbstractGridView> tree_view); + std::unique_ptr<blender::ui::AbstractGridView> grid_view); blender::ui::AbstractTreeView *UI_block_add_view( uiBlock &block, blender::StringRef idname, diff --git a/source/blender/editors/interface/interface_view.cc b/source/blender/editors/interface/interface_view.cc index 72a6e3ba5e3..2d93e03ea18 100644 --- a/source/blender/editors/interface/interface_view.cc +++ b/source/blender/editors/interface/interface_view.cc @@ -57,9 +57,9 @@ static T *ui_block_add_view_impl(uiBlock &block, AbstractGridView *UI_block_add_view(uiBlock &block, StringRef idname, - std::unique_ptr<AbstractView> tree_view) + std::unique_ptr<AbstractGridView> grid_view) { - return ui_block_add_view_impl<AbstractGridView>(block, idname, std::move(tree_view)); + return ui_block_add_view_impl<AbstractGridView>(block, idname, std::move(grid_view)); } AbstractTreeView *UI_block_add_view(uiBlock &block, |