From fc5ef2452deb55436b7486170e595e4c2ea7e5c0 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 31 Jan 2022 11:14:25 +0100 Subject: [PATCH] Cleanup: Namespace alias for internal outliner header Long namespace qualifiers add visual noice and make code harder to read. --- source/blender/editors/space_outliner/outliner_intern.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/space_outliner/outliner_intern.hh b/source/blender/editors/space_outliner/outliner_intern.hh index 9db1d73dc76..ccadc829f50 100644 --- a/source/blender/editors/space_outliner/outliner_intern.hh +++ b/source/blender/editors/space_outliner/outliner_intern.hh @@ -57,10 +57,12 @@ class AbstractTreeDisplay; class AbstractTreeElement; } // namespace blender::ed::outliner +namespace outliner = blender::ed::outliner; + struct SpaceOutliner_Runtime { /** Object to create and manage the tree for a specific display type (View Layers, Scenes, * Blender File, etc.). */ - std::unique_ptr tree_display; + std::unique_ptr tree_display; /** Pointers to tree-store elements, grouped by `(id, type, nr)` * in hash-table for faster searching. */ @@ -97,7 +99,7 @@ typedef struct TreeElement { * #TreeElement. Step by step, data should be moved to it and operations based on the type should * become virtual methods of the class hierarchy. */ - std::unique_ptr type; + std::unique_ptr type; ListBase subtree; int xs, ys; /* Do selection. */