I have a CSGMesh node that I set it's mesh by code, if I call get_meshes() straight after setting it's mesh it won't return the final mesh until a frame has been rendered / program finishes it's loop. Can I force the CSG node tree to update so that I can get the final mesh as soon as I set the root mesh?
$CSGMesh.mesh = my_arraymesh
#Need to force an update here so that final_mesh will have all CSG operations applied
var final_mesh = $CSGMesh.get_meshes()[1]