Merge pull request #32914 from RandomShaper/fix_template_compile
Fix export template compilation
This commit is contained in:
commit
f3f446ac75
1 changed files with 2 additions and 0 deletions
|
@ -450,7 +450,9 @@ void GIProbe::bake(Node *p_from_node, bool p_create_visual_debug) {
|
||||||
probe_data->allocate(baker.get_to_cell_space_xform(), AABB(-extents, extents * 2.0), baker.get_giprobe_octree_size(), baker.get_giprobe_octree_cells(), baker.get_giprobe_data_cells(), df, baker.get_giprobe_level_cell_count());
|
probe_data->allocate(baker.get_to_cell_space_xform(), AABB(-extents, extents * 2.0), baker.get_giprobe_octree_size(), baker.get_giprobe_octree_cells(), baker.get_giprobe_data_cells(), df, baker.get_giprobe_level_cell_count());
|
||||||
|
|
||||||
set_probe_data(probe_data);
|
set_probe_data(probe_data);
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
probe_data->set_edited(true); //so it gets saved
|
probe_data->set_edited(true); //so it gets saved
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bake_end_function) {
|
if (bake_end_function) {
|
||||||
|
|
Loading…
Reference in a new issue