Turn off lights for the TiledWall.

This commit is contained in:
Relintai 2022-02-23 15:31:47 +01:00
parent 1c3c556d98
commit ce69529ceb

View File

@ -268,7 +268,7 @@ TiledWall2D::TiledWall2D() {
_height = 1;
_mesher.instance();
_mesher->set_build_flags(Prop2DMesher::BUILD_FLAG_USE_LIGHTING | Prop2DMesher::BUILD_FLAG_USE_AO | Prop2DMesher::BUILD_FLAG_USE_RAO | Prop2DMesher::BUILD_FLAG_BAKE_LIGHTS);
//_mesher->set_build_flags(Prop2DMesher::BUILD_FLAG_USE_LIGHTING | Prop2DMesher::BUILD_FLAG_USE_AO | Prop2DMesher::BUILD_FLAG_USE_RAO | Prop2DMesher::BUILD_FLAG_BAKE_LIGHTS);
}
TiledWall2D::~TiledWall2D() {
_data.unref();