Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_particle.c
| Show First 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | static void rna_ParticleSystem_co_hair( | ||||
| else { | else { | ||||
| return; | return; | ||||
| } | } | ||||
| /* Strands key loop data stored in cache + step->co. */ | /* Strands key loop data stored in cache + step->co. */ | ||||
| if (step >= 0 && step <= max_k) { | if (step >= 0 && step <= max_k) { | ||||
| copy_v3_v3(n_co, (cache + step)->co); | copy_v3_v3(n_co, (cache + step)->co); | ||||
| mul_m4_v3(particlesystem->imat, n_co); | mul_m4_v3(particlesystem->imat, n_co); | ||||
| mul_m4_v3(object->obmat, n_co); | mul_m4_v3(object->object_to_world, n_co); | ||||
| } | } | ||||
| } | } | ||||
| static const EnumPropertyItem *rna_Particle_Material_itemf(bContext *C, | static const EnumPropertyItem *rna_Particle_Material_itemf(bContext *C, | ||||
| PointerRNA *UNUSED(ptr), | PointerRNA *UNUSED(ptr), | ||||
| PropertyRNA *UNUSED(prop), | PropertyRNA *UNUSED(prop), | ||||
| bool *r_free) | bool *r_free) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 3,572 Lines • Show Last 20 Lines | |||||