Fix CSGShape3D's _mesh_changed thread unsafe call to update_gizmos
This commit is contained in:
parent
e343dbbcc1
commit
5e4dafb0d9
|
@ -934,7 +934,8 @@ CSGBrush *CSGMesh3D::_build_brush() {
|
||||||
|
|
||||||
void CSGMesh3D::_mesh_changed() {
|
void CSGMesh3D::_mesh_changed() {
|
||||||
_make_dirty();
|
_make_dirty();
|
||||||
update_gizmos();
|
|
||||||
|
callable_mp((Node3D *)this, &Node3D::update_gizmos).call_deferred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSGMesh3D::set_material(const Ref<Material> &p_material) {
|
void CSGMesh3D::set_material(const Ref<Material> &p_material) {
|
||||||
|
|
Loading…
Reference in New Issue