mirror of
https://github.com/Relintai/props.git
synced 2025-02-12 16:40:05 +01:00
Removed the now unneeded build flags from PropMesher.
This commit is contained in:
parent
3d1faef5ac
commit
fb2e63702f
@ -24,7 +24,7 @@ SOFTWARE.
|
|||||||
|
|
||||||
#include "modules/opensimplex/open_simplex_noise.h"
|
#include "modules/opensimplex/open_simplex_noise.h"
|
||||||
|
|
||||||
const String PropMesher::BINDING_STRING_BUILD_FLAGS = "Use Isolevel,Use Lighting,Use AO,Use RAO,Generate AO,Generate RAO,Bake Lights,Create Collider,Create Lods";
|
const String PropMesher::BINDING_STRING_BUILD_FLAGS = "Use Lighting,Use AO,Use RAO,Bake Lights";
|
||||||
|
|
||||||
bool PropMesher::Vertex::operator==(const Vertex &p_vertex) const {
|
bool PropMesher::Vertex::operator==(const Vertex &p_vertex) const {
|
||||||
if (vertex != p_vertex.vertex)
|
if (vertex != p_vertex.vertex)
|
||||||
@ -961,7 +961,7 @@ PropMesher::PropMesher() {
|
|||||||
_channel_index_isolevel = 0;
|
_channel_index_isolevel = 0;
|
||||||
_texture_scale = 1;
|
_texture_scale = 1;
|
||||||
|
|
||||||
_build_flags = PropMesher::BUILD_FLAG_CREATE_COLLIDER | PropMesher::BUILD_FLAG_CREATE_LODS;
|
_build_flags = 0;
|
||||||
|
|
||||||
_format = VisualServer::ARRAY_FORMAT_NORMAL | VisualServer::ARRAY_FORMAT_TEX_UV;
|
_format = VisualServer::ARRAY_FORMAT_NORMAL | VisualServer::ARRAY_FORMAT_TEX_UV;
|
||||||
|
|
||||||
|
@ -72,15 +72,10 @@ public:
|
|||||||
const double PI = 3.141592653589793238463;
|
const double PI = 3.141592653589793238463;
|
||||||
|
|
||||||
enum BuildFlags {
|
enum BuildFlags {
|
||||||
BUILD_FLAG_USE_ISOLEVEL = 1 << 0,
|
BUILD_FLAG_USE_LIGHTING = 1 << 0,
|
||||||
BUILD_FLAG_USE_LIGHTING = 1 << 1,
|
BUILD_FLAG_USE_AO = 1 << 1,
|
||||||
BUILD_FLAG_USE_AO = 1 << 2,
|
BUILD_FLAG_USE_RAO = 1 << 2,
|
||||||
BUILD_FLAG_USE_RAO = 1 << 3,
|
BUILD_FLAG_BAKE_LIGHTS = 1 << 3,
|
||||||
BUILD_FLAG_GENERATE_AO = 1 << 4,
|
|
||||||
BUILD_FLAG_AUTO_GENERATE_RAO = 1 << 5,
|
|
||||||
BUILD_FLAG_BAKE_LIGHTS = 1 << 6,
|
|
||||||
BUILD_FLAG_CREATE_COLLIDER = 1 << 7,
|
|
||||||
BUILD_FLAG_CREATE_LODS = 1 << 8,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Vertex {
|
struct Vertex {
|
||||||
|
Loading…
Reference in New Issue
Block a user