Fix compile for older versions of the engine than 3.x.

This commit is contained in:
Relintai 2021-08-29 18:56:09 +02:00
parent 8488a033db
commit 4830687056

View File

@ -204,7 +204,9 @@ MeshDataInstance::MeshDataInstance() {
_snap_to_mesh = false;
_snap_axis = Vector3(0, -1, 0);
#if VERSION_MINOR >= 4
set_portal_mode(PORTAL_MODE_GLOBAL);
#endif
//set_notify_transform(true);
}