Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/effect.c
| Show First 20 Lines • Show All 612 Lines • ▼ Show 20 Lines | if (me_eval != NULL) { | ||||
| mul_m4_v3(eff->ob->obmat, efd->loc); | mul_m4_v3(eff->ob->obmat, efd->loc); | ||||
| mul_mat3_m4_v3(eff->ob->obmat, efd->nor); | mul_mat3_m4_v3(eff->ob->obmat, efd->nor); | ||||
| normalize_v3(efd->nor); | normalize_v3(efd->nor); | ||||
| efd->size = 0.0f; | efd->size = 0.0f; | ||||
| /**/ | |||||
| ret = 1; | ret = 1; | ||||
| } | } | ||||
| } | } | ||||
| else if (eff->psys) { | else if (eff->psys) { | ||||
| ParticleData *pa = eff->psys->particles + *efd->index; | ParticleData *pa = eff->psys->particles + *efd->index; | ||||
| ParticleKey state; | ParticleKey state; | ||||
| /* exclude the particle itself for self effecting particles */ | /* exclude the particle itself for self effecting particles */ | ||||
| ▲ Show 20 Lines • Show All 624 Lines • Show Last 20 Lines | |||||