forked from bartvdbraak/blender
Cycles: Fully initialize the dummy particle at index 0.
This commit is contained in:
parent
1228be0896
commit
3ca3102bcf
@ -67,6 +67,10 @@ void ParticleSystemManager::device_update_particles(Device *device, DeviceScene
|
|||||||
|
|
||||||
/* dummy particle */
|
/* dummy particle */
|
||||||
particles[0] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
particles[0] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
particles[1] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
particles[2] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
particles[3] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
particles[4] = make_float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
foreach(ParticleSystem *psys, scene->particle_systems) {
|
foreach(ParticleSystem *psys, scene->particle_systems) {
|
||||||
|
Loading…
Reference in New Issue
Block a user