summaryrefslogtreecommitdiff
path: root/editor/import/collada.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/import/collada.cpp')
-rw-r--r--editor/import/collada.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/collada.cpp b/editor/import/collada.cpp
index fe32399fc6..f8c99ff7d4 100644
--- a/editor/import/collada.cpp
+++ b/editor/import/collada.cpp
@@ -58,7 +58,7 @@ Transform3D Collada::get_root_transform() const {
return unit_scale_transform;
}
-void Collada::Vertex::fix_unit_scale(Collada &state) {
+void Collada::Vertex::fix_unit_scale(const Collada &state) {
#ifdef COLLADA_IMPORT_SCALE_SCENE
vertex *= state.state.unit_scale;
#endif