Cleanup: Rename recently added Outliner files to exclude "_base" suffix

These files can contain more than just the "base" tree element types. E.g. the
class for the view-layer base element can also contain the class for the
view-layer elements. Otherwise we'd end up with like >50 files for the
individual types, most of them very small.
So just give the files a general name and put the related classes in there.
This commit is contained in:
Julian Eisel
2021-03-08 15:40:25 +01:00
parent 4292bb060d
commit f0ad78e17c
10 changed files with 16 additions and 16 deletions

View File

@@ -56,13 +56,13 @@ set(SRC
tree/tree_display_view_layer.cc
tree/tree_element.cc
tree/tree_element_anim_data.cc
tree/tree_element_collection_base.cc
tree/tree_element_driver_base.cc
tree/tree_element_collection.cc
tree/tree_element_driver.cc
tree/tree_element_gpencil_layer.cc
tree/tree_element_id.cc
tree/tree_element_nla.cc
tree/tree_element_scene_objects_base.cc
tree/tree_element_view_layer_base.cc
tree/tree_element_scene_objects.cc
tree/tree_element_view_layer.cc
outliner_intern.h
tree/tree_display.h
@@ -70,13 +70,13 @@ set(SRC
tree/tree_element.h
tree/tree_element.hh
tree/tree_element_anim_data.hh
tree/tree_element_collection_base.hh
tree/tree_element_driver_base.hh
tree/tree_element_collection.hh
tree/tree_element_driver.hh
tree/tree_element_gpencil_layer.hh
tree/tree_element_id.hh
tree/tree_element_nla.hh
tree/tree_element_scene_objects_base.hh
tree/tree_element_view_layer_base.hh
tree/tree_element_scene_objects.hh
tree/tree_element_view_layer.hh
)
set(LIB

View File

@@ -21,13 +21,13 @@
#include "DNA_listBase.h"
#include "tree_element_anim_data.hh"
#include "tree_element_collection_base.hh"
#include "tree_element_driver_base.hh"
#include "tree_element_collection.hh"
#include "tree_element_driver.hh"
#include "tree_element_gpencil_layer.hh"
#include "tree_element_id.hh"
#include "tree_element_nla.hh"
#include "tree_element_scene_objects_base.hh"
#include "tree_element_view_layer_base.hh"
#include "tree_element_scene_objects.hh"
#include "tree_element_view_layer.hh"
#include "tree_element.h"
#include "tree_element.hh"

View File

@@ -25,7 +25,7 @@
#include "../outliner_intern.h"
#include "tree_display.h"
#include "tree_element_collection_base.hh"
#include "tree_element_collection.hh"
namespace blender::ed::outliner {

View File

@@ -30,7 +30,7 @@
#include "../outliner_intern.h"
#include "tree_display.h"
#include "tree_element_driver_base.hh"
#include "tree_element_driver.hh"
namespace blender::ed::outliner {

View File

@@ -27,7 +27,7 @@
#include "../outliner_intern.h"
#include "tree_display.h"
#include "tree_element_scene_objects_base.hh"
#include "tree_element_scene_objects.hh"
namespace blender::ed::outliner {

View File

@@ -27,7 +27,7 @@
#include "../outliner_intern.h"
#include "tree_display.h"
#include "tree_element_view_layer_base.hh"
#include "tree_element_view_layer.hh"
namespace blender::ed::outliner {