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
446
446
{
447
447
if (mb==*meshBuffers.begin ())
448
448
m_sceneBound.addInternalBox (core::transformBoxEx (aabbMesh,newInstanceData->tform ));
449
- auto emitter = auxIt->frontEmitter ;
449
+ const auto & emitter = auxIt->frontEmitter ;
450
450
if (emitter.type !=ext::MitsubaLoader::CElementEmitter::Type::INVALID)
451
451
{
452
452
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
76
76
CElementEmitter frontEmitter; // type is invalid if not used
77
77
CElementEmitter backEmitter; // type is invalid if not used
78
78
CMitsubaMaterialCompilerFrontend::front_and_back_t bsdf;
79
- #if defined(_NBL_DEBUG) || defined(_NBL_RELWITHDEBINFO)
80
- std::string bsdf_id;
81
- #endif
82
79
};
83
80
84
81
core::SRange<const SInstanceAuxilaryData> m_instanceAuxData;
@@ -186,9 +183,6 @@ class CMitsubaMetadata : public asset::IAssetMetadata
186
183
inst.emitter .front ,
187
184
inst.emitter .back ,
188
185
inst.bsdf
189
- #if defined(_NBL_DEBUG) || defined(_NBL_RELWITHDEBINFO)
190
- ,inst.bsdf_id
191
- #endif
192
186
};
193
187
}
194
188
meta->m_instances = { instanceStorageBegin,m_instanceStorageIt };
You can’t perform that action at this time.
0 commit comments