Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/space_spreadsheet/spreadsheet_column_layout.hh6
-rw-r--r--source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc2
2 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_column_layout.hh b/source/blender/editors/space_spreadsheet/spreadsheet_column_layout.hh
index 85217d35289..a01e251d764 100644
--- a/source/blender/editors/space_spreadsheet/spreadsheet_column_layout.hh
+++ b/source/blender/editors/space_spreadsheet/spreadsheet_column_layout.hh
@@ -20,10 +20,8 @@
#include "spreadsheet_draw.hh"
-// struct Object;
-// struct Collection;
-#include "DNA_collection_types.h"
-#include "DNA_object_types.h"
+struct Object;
+struct Collection;
namespace blender::ed::spreadsheet {
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc
index 0937e81c309..22694181865 100644
--- a/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc
+++ b/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc
@@ -64,7 +64,7 @@ static void add_columns_for_instances(const InstancesComponent &instances_compon
}
}));
- columns.last().get()->default_width = 8.0f;
+ columns.last()->default_width = 8.0f;
static std::array<char, 3> axis_char = {'X', 'Y', 'Z'};
for (const int i : {0, 1, 2}) {