Minor tweaks
This commit is contained in:
@@ -700,6 +700,7 @@ Asset* Content::GetAsset(const StringView& outputPath)
|
||||
{
|
||||
if (outputPath.IsEmpty())
|
||||
return nullptr;
|
||||
PROFILE_CPU();
|
||||
ScopeLock lock(AssetsLocker);
|
||||
for (auto i = Assets.Begin(); i.IsNotEnd(); ++i)
|
||||
{
|
||||
|
||||
@@ -156,7 +156,7 @@ void ParticleSystemInstance::Sync(ParticleSystem* system)
|
||||
if (GPUParticlesCountReadback)
|
||||
GPUParticlesCountReadback->ReleaseGPU();
|
||||
}
|
||||
ASSERT(Emitters.Count() == system->Emitters.Count());
|
||||
CHECK(Emitters.Count() == system->Emitters.Count());
|
||||
}
|
||||
|
||||
bool ParticleSystemInstance::ContainsEmitter(ParticleEmitter* emitter) const
|
||||
|
||||
Reference in New Issue
Block a user