File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
examples_tests/22.RaytracedAO
include/nbl/ext/MitsubaLoader Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ Renderer::InitializationData Renderer::initSceneObjects(const SAssetBundle& mesh
446446 {
447447 if (mb==*meshBuffers.begin ())
448448 m_sceneBound.addInternalBox (core::transformBoxEx (aabbMesh,newInstanceData->tform ));
449- auto emitter = auxIt->frontEmitter ;
449+ const auto & emitter = auxIt->frontEmitter ;
450450 if (emitter.type !=ext::MitsubaLoader::CElementEmitter::Type::INVALID)
451451 {
452452 assert (emitter.type ==ext::MitsubaLoader::CElementEmitter::Type::AREA);
Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ class CMitsubaMetadata : public asset::IAssetMetadata
7676 CElementEmitter frontEmitter; // type is invalid if not used
7777 CElementEmitter backEmitter; // type is invalid if not used
7878 CMitsubaMaterialCompilerFrontend::front_and_back_t bsdf;
79- #if defined(_NBL_DEBUG) || defined(_NBL_RELWITHDEBINFO)
80- std::string bsdf_id;
81- #endif
8279 };
8380
8481 core::SRange<const SInstanceAuxilaryData> m_instanceAuxData;
@@ -186,9 +183,6 @@ class CMitsubaMetadata : public asset::IAssetMetadata
186183 inst.emitter .front ,
187184 inst.emitter .back ,
188185 inst.bsdf
189- #if defined(_NBL_DEBUG) || defined(_NBL_RELWITHDEBINFO)
190- ,inst.bsdf_id
191- #endif
192186 };
193187 }
194188 meta->m_instances = { instanceStorageBegin,m_instanceStorageIt };
You can’t perform that action at this time.
0 commit comments