diff --git a/material_cache/ess_material_cache.cpp b/material_cache/ess_material_cache.cpp index 9740f0e..2d5ef95 100644 --- a/material_cache/ess_material_cache.cpp +++ b/material_cache/ess_material_cache.cpp @@ -27,9 +27,6 @@ SOFTWARE. #include "../../props/props/prop_data_prop.h" #include "../../props/props/prop_data_tiled_wall.h" #include "../../props/tiled_wall/tiled_wall_data.h" -#endif - -#include "../singletons/ess.h" #if MESH_DATA_RESOURCE_PRESENT #define PROPS_PRESENT 1 @@ -37,6 +34,10 @@ SOFTWARE. #undef PROPS_PRESENT #endif +#endif + +#include "../singletons/ess.h" + #if VERSION_MAJOR > 3 #define VARIANT_ARRAY_GET(arr) \