Mesh: remove Double Sided lighting option, it does nothing in the new viewport

This is legacy option from fixed-function graphics hardware, where per-vertex
lighting meant this had a significant performance impact.
This commit is contained in:
2019-05-18 11:32:52 +02:00
parent d95ccc2175
commit 07c67148e3
4 changed files with 5 additions and 32 deletions

View File

@@ -126,11 +126,6 @@ void GeometryExporter::operator()(Object *ob)
closeMesh();
if (me->flag & ME_TWOSIDED) {
mSW->appendTextBlock(
"<extra><technique profile=\"MAYA\"><double_sided>1</double_sided></technique></extra>");
}
closeGeometry();
if (this->export_settings->include_shapekeys) {
@@ -211,11 +206,6 @@ void GeometryExporter::export_key_mesh(Object *ob, Mesh *me, KeyBlock *kb)
closeMesh();
if (me->flag & ME_TWOSIDED) {
mSW->appendTextBlock(
"<extra><technique profile=\"MAYA\"><double_sided>1</double_sided></technique></extra>");
}
closeGeometry();
}