Remove -std=c++11 cppflag as it!s not needed. Also compile fix for msvc.

This commit is contained in:
Relintai 2020-03-24 16:56:04 +01:00
parent d0578c24d4
commit a5c5a7b56b
2 changed files with 1 additions and 3 deletions

2
SCsub
View File

@ -7,8 +7,6 @@ module_env = env.Clone()
if os.path.isdir('../mesh_data_resource'):
module_env.Append(CPPDEFINES=['MESH_DATA_RESOURCE_PRESENT'])
module_env.Append(CPPFLAGS=["-std=c++11"])
sources = [
"register_types.cpp",

View File

@ -169,7 +169,7 @@ void VoxelMesherTransvoxel::_add_chunk(Node *p_chunk) {
get_voxel_type_array(type_arr, chunk, x, y, z, lod_size);
int case_code = get_case_code_from_arr(type_arr);
if (case_code == 0 or case_code == 255) {
if (case_code == 0 || case_code == 255) {
continue;
}