diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index a74521db49..ac95d29e21 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -5329,10 +5329,10 @@ LLControlAVBridge::LLControlAVBridge(LLDrawable* drawablep, LLViewerRegion* regi bool can_batch_texture(LLFace* facep) { // fix batching when materials disabled and alpha none/masked. - // if (facep->getTextureEntry()->getBumpmap()) - // { //bump maps aren't worked into texture batching yet - // return false; - // } + if (facep->getTextureEntry()->getBumpmap()) + { //bump maps aren't worked into texture batching yet + return false; + } // if (facep->getTextureEntry()->getMaterialParams().notNull()) // { //materials don't work with texture batching yet @@ -5342,8 +5342,12 @@ bool can_batch_texture(LLFace* facep) if (LLPipeline::sRenderDeferred && te ) { auto mat = te->getMaterialParams(); - if(mat && (mat->getNormalID() != LLUUID::null || mat->getSpecularID() != LLUUID::null)) + if(mat.notNull() && (mat->getNormalID() != LLUUID::null || mat->getSpecularID() != LLUUID::null || (te->getAlpha() >0.f && te->getAlpha() < 1.f ) ) ) { + // we have a materials block but we cannot batch materials. + // however, materials blocks can and do exist due to alpha masking and those are batchable, + // but we further need to check in case blending is overriding the mask + // except when the blend is 100% transparent return false; } } diff --git a/indra/newview/skins/default/xui/ru/floater_vj_local_mesh.xml b/indra/newview/skins/default/xui/ru/floater_vj_local_mesh.xml new file mode 100644 index 0000000000..fd20ea7791 --- /dev/null +++ b/indra/newview/skins/default/xui/ru/floater_vj_local_mesh.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + Суффиксы LOD: + + + Текущий + Стандарт СЛ + Стандарт Игрового Движка + Имена LOD + + + Низший: + + + + Низкий: + + + + Средний: + + + + Высокий: + + + + Физика: + + + + +