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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user