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:
authorHans Goudey <h.goudey@me.com>2021-03-19 19:40:29 +0300
committerHans Goudey <h.goudey@me.com>2021-03-19 19:40:29 +0300
commit045bdd530841a1a9380e0d9115089a6c584e385c (patch)
tree4348b281ae3e6ab1b3e7bd6c12f625e1467b4f62
parentae51cde3d783b1cec848dd8f78f3b91d85e90d8d (diff)
-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}) {