From 92731d292c66be637b837653044273c7000f63a3 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Tue, 13 Apr 2021 20:45:16 -0700 Subject: Rename get_surface_material to get_surface_override_material --- scene/3d/baked_lightmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/baked_lightmap.cpp') diff --git a/scene/3d/baked_lightmap.cpp b/scene/3d/baked_lightmap.cpp index 95ffbe48c1..2e1b77dfe5 100644 --- a/scene/3d/baked_lightmap.cpp +++ b/scene/3d/baked_lightmap.cpp @@ -259,7 +259,7 @@ void BakedLightmap::_find_meshes_and_lights(Node *p_at_node, Vector if (all_override.is_valid()) { mf.overrides.push_back(all_override); } else { - mf.overrides.push_back(mi->get_surface_material(i)); + mf.overrides.push_back(mi->get_surface_override_material(i)); } } -- cgit v1.2.3