mirror of
https://github.com/Relintai/voxelman.git
synced 2025-03-12 18:18:50 +01:00
Remove -std=c++11 cppflag as it!s not needed. Also compile fix for msvc.
This commit is contained in:
parent
d0578c24d4
commit
a5c5a7b56b
2
SCsub
2
SCsub
@ -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",
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user