Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/particle.c
| Context not available. | |||||
| /* should init_particle_interpolation set this ? */ | /* should init_particle_interpolation set this ? */ | ||||
| if (pset->brushtype == PE_BRUSH_WEIGHT) { | if (pa && pa->hair && pset->brushtype == PE_BRUSH_WEIGHT) { | ||||
| pind.hkey[0] = NULL; | pind.hkey[0] = NULL; | ||||
| /* pa != NULL since the weight brush is only available for hair */ | /* pa != NULL since the weight brush is only available for hair (well: its not) */ | ||||
| pind.hkey[1] = pa->hair; | pind.hkey[1] = pa->hair; | ||||
| } | } | ||||
| Context not available. | |||||