Fix minor things
This commit is contained in:
@@ -1024,7 +1024,7 @@ void UpdateGPU(RenderTask* task, GPUContext* context)
|
|||||||
const auto& track = particleSystem->Tracks[j];
|
const auto& track = particleSystem->Tracks[j];
|
||||||
if (track.Type != ParticleSystem::Track::Types::Emitter || track.Disabled)
|
if (track.Type != ParticleSystem::Track::Types::Emitter || track.Disabled)
|
||||||
continue;
|
continue;
|
||||||
const uint32 emitterIndex = track.AsEmitter.Index;
|
const int32 emitterIndex = track.AsEmitter.Index;
|
||||||
ParticleEmitter* emitter = particleSystem->Emitters[emitterIndex].Get();
|
ParticleEmitter* emitter = particleSystem->Emitters[emitterIndex].Get();
|
||||||
if (!emitter || !emitter->IsLoaded() || emitter->SimulationMode != ParticlesSimulationMode::GPU || instance.Emitters.Count() <= emitterIndex)
|
if (!emitter || !emitter->IsLoaded() || emitter->SimulationMode != ParticlesSimulationMode::GPU || instance.Emitters.Count() <= emitterIndex)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class FLAXENGINE_API ScriptingEvents
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Global table for registered even binder methods (key is pair of type and event name, value is method that takes instance with event, object to bind and flag to bind or unbind).
|
/// Global table for registered event binder methods (key is pair of type and event name, value is method that takes instance with event, object to bind and flag to bind or unbind).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Key: pair of event type, event name.
|
/// Key: pair of event type, event name.
|
||||||
|
|||||||
Reference in New Issue
Block a user