mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2025-02-20 17:14:31 +01:00
Fix compile for older versions of the engine than 3.x.
This commit is contained in:
parent
8488a033db
commit
4830687056
@ -204,7 +204,9 @@ MeshDataInstance::MeshDataInstance() {
|
|||||||
_snap_to_mesh = false;
|
_snap_to_mesh = false;
|
||||||
_snap_axis = Vector3(0, -1, 0);
|
_snap_axis = Vector3(0, -1, 0);
|
||||||
|
|
||||||
|
#if VERSION_MINOR >= 4
|
||||||
set_portal_mode(PORTAL_MODE_GLOBAL);
|
set_portal_mode(PORTAL_MODE_GLOBAL);
|
||||||
|
#endif
|
||||||
|
|
||||||
//set_notify_transform(true);
|
//set_notify_transform(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user