Fix regression in GPU Particle collisions in editor
This commit is contained in:
@@ -371,7 +371,7 @@ void ParticleEffect::Sync()
|
|||||||
|
|
||||||
SceneRenderTask* ParticleEffect::GetRenderTask() const
|
SceneRenderTask* ParticleEffect::GetRenderTask() const
|
||||||
{
|
{
|
||||||
const uint64 minFrame = Engine::UpdateCount - 2;
|
const uint64 minFrame = Engine::FrameCount - 2;
|
||||||
|
|
||||||
// Custom task
|
// Custom task
|
||||||
const auto customViewRenderTask = CustomViewRenderTask.Get();
|
const auto customViewRenderTask = CustomViewRenderTask.Get();
|
||||||
|
|||||||
Reference in New Issue
Block a user